class GraphEmpty
extends GraphEmptyBase
import { GraphEmpty } from "https://deno.land/x/rimbu@1.0.0/graph/custom/non-valued/implementation/empty.ts";
Constructors
new
GraphEmpty(isDirected: boolean, context: TpG["context"])Type Parameters
Tp extends GraphTypesContextImpl
optional
TpG extends WithGraphValues<Tp, N, V> = WithGraphValues<Tp, N, V>Properties
readonly
linkMap: TpG["linkMap"]Methods
addNodes(nodes: StreamSource<N>): WithGraphValues<Tp, N, V>["nonEmpty"]
connectAll(links: StreamSource<WithGraphValues<Tp, N, V>["link"]>): WithGraphValues<Tp, N, V>["nonEmpty"]
getConnectionsFrom(): TpG["linkConnections"]
toString(): string