interface EdgeGraphBase.NonEmpty
implements [GraphBase.NonEmpty]<N, Tp>, Omit<EdgeGraphBase<N, Tp>, keyof GraphBase.NonEmpty<any, any>>, [Streamable.NonEmpty]<GraphElement<N>>
import { type EdgeGraphBase } from "https://deno.land/x/rimbu@0.13.5/graph/custom/index.ts";
const { NonEmpty } = EdgeGraphBase;
Type Parameters
optional
Tp extends EdgeGraphBase.Types = EdgeGraphBase.TypesMethods
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.