import { GraphContext } from "https://deno.land/x/rimbu@1.0.3/graph/custom/non-valued/implementation/context.ts";
Constructors
new
GraphContext(isDirected: Dir,
typeTag: TT,
linkMapContext: WithGraphValues<Tp, UN, any>["linkMapContext"],
linkConnectionsContext: WithGraphValues<Tp, UN, any>["linkConnectionsContext"],
Type Parameters
optional
Tp extends GraphTypesContextImpl = GraphTypesContextImplProperties
readonly
_empty: WithGraphValues<Tp, UN, any>["normal"]readonly
empty: <N extends UN>() => anyreadonly
of: <N>(...values: ArrayNonEmpty<GraphElement<N>>) => anyreducer: <N extends UN>(source?: StreamSource<GraphElement<N>>) => any
Methods
createBuilder<N extends UN>(source?: WithGraphValues<Tp, N, any>["nonEmpty"]): WithGraphValues<Tp, N, any>["builder"]
createNonEmpty<N extends UN>(linkMap: WithGraphValues<Tp, N, any>["linkMapNonEmpty"], connectionSize: number): WithGraphValues<Tp, N, any>["nonEmpty"]
isNonEmptyInstance(source: any): source is WithGraphValues<Tp, UN, any>["nonEmpty"]