interface ArrowValuedGraphSorted.NonEmpty
implements [ArrowValuedGraphBase.NonEmpty]<N, V, ArrowValuedGraphSorted.Types>, Omit<ArrowValuedGraphSorted<N, V>, keyof ArrowValuedGraphBase.NonEmpty<any, any, any>>, [Streamable.NonEmpty]<ValuedGraphElement<N, V>>
import { type ArrowValuedGraphSorted } from "https://deno.land/x/rimbu@1.0.0/graph/main/index.ts";
const { NonEmpty } = ArrowValuedGraphSorted;
A non-empty type-invariant immutable valued arrow (directed) graph. The nodes are internally maintained using SortedMaps See the Graph documentation and the ArrowValuedGraphSorted API documentation
Methods
stream(): Stream.NonEmpty<ValuedGraphElement<N, V>>
Returns a non-empty Stream containing all entries of this collection as tuples of key and value.