interface GraphBase.NonEmpty
implements [VariantGraphBase.NonEmpty]<N, unknown, Tp>, Omit<GraphConnectNonEmpty<N, unknown, Tp>, keyof VariantGraphBase.NonEmpty<any, any, any>>, Omit<GraphBase<N, Tp>, keyof VariantGraphBase.NonEmpty<any, any, any> | keyof GraphConnectNonEmpty<any, any, any>>, [Streamable.NonEmpty]<GraphElement<N>>
import { type GraphBase } from "https://deno.land/x/rimbu@1.2.0/graph/custom/index.ts";
const { NonEmpty } = GraphBase;
Type Parameters
optional
Tp extends GraphBase.Types = GraphBase.TypesProperties
readonly
linkMap: WithGraphValues<Tp, N, unknown>["linkMapNonEmpty"]Returns the nested non-empty Map representation of the graph connections.
Methods
stream(): Stream.NonEmpty<GraphElement<N>>
Returns a non-empty Stream
containing all graph elements of this collection as single tuples for isolated nodes
and 2-valued tuples of nodes for connections.