import { GraphNonEmpty } from "https://deno.land/x/rimbu@1.0.0/graph/custom/index.ts";
Methods
asNormal(): any
assumeNonEmpty(): any
connectAll(links: StreamSource<WithGraphValues<Tp, N, any>["link"]>): TpG["nonEmpty"]
disconnect<UN>(node1: RelatedTo<N, UN>, node2: RelatedTo<N, UN>): TpG["nonEmpty"]
disconnectAll<UN>(links: StreamSource<Link<RelatedTo<N, UN>>>): TpG["nonEmpty"]
getConnectionsFrom<UN = N>(node1: RelatedTo<N, UN>): TpG["linkConnections"]
getConnectionStreamFrom<UN = N>(node1: RelatedTo<N, UN>): Stream<Link<N>>
getConnectionStreamTo<UN = N>(node: RelatedTo<N, UN>): any
hasConnection<UN = N>(node1: RelatedTo<N, UN>, node2: RelatedTo<N, UN>): boolean
removeNode<UN = N>(node: RelatedTo<N, UN>): TpG["normal"]
removeNodes<UN>(nodes: StreamSource<RelatedTo<N, UN>>): TpG["normal"]
removeUnconnectedNodes(): TpG["normal"]
streamConnections(): Stream<WithGraphValues<Tp, N, any>["link"]>
streamNodes(): Stream.NonEmpty<N>
toString(): string