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