import { type VariantGraphBase } from "https://deno.land/x/rimbu@1.0.0/graph/custom/index.ts";
const { NonEmpty } = VariantGraphBase;
Methods
Returns this collection typed as a 'possibly empty' collection.
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.
streamNodes(): Stream.NonEmpty<N>
Returns a non-empty Stream
containing all nodes of this collection.