interface ArrowGraph.NonEmpty
implements [ArrowGraphBase.NonEmpty]<N, ArrowGraph.Types>, Omit<ArrowGraph<N>, keyof ArrowGraphBase.NonEmpty<any, any>>, [Streamable.NonEmpty]<[N] | Link<N>>
import { type ArrowGraph } from "https://deno.land/x/rimbu@0.13.5/core/main/index.ts";
const { NonEmpty } = ArrowGraph;
A non-empty type-invariant immutable arrow (directed) graph. See the Graph documentation and the ArrowGraph API documentation
Methods
stream(): Stream.NonEmpty<[N] | Link<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.