class ValuedGraphEmpty
extends GraphEmptyBase
import { ValuedGraphEmpty } from "https://deno.land/x/rimbu@1.2.0/graph/custom/valued/implementation/empty.ts";
Constructors
new
ValuedGraphEmpty(isDirected: boolean, context: TpG["context"])Type Parameters
Tp extends ValuedGraphTypesContextImpl
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"]
mapValues<V2>(): WithGraphValues<Tp, N, V2>["normal"]
toString(): string