interface EdgeValuedGraph.NonEmpty
implements [EdgeValuedGraphBase.NonEmpty]<N, V, EdgeValuedGraph.Types>, Omit<EdgeValuedGraph<N, V>, keyof EdgeValuedGraphBase.NonEmpty<any, any, any>>, [Streamable.NonEmpty]<ValuedGraphElement<N, V>>
import { type EdgeValuedGraph } from "https://deno.land/x/rimbu@1.2.0/mod.ts";
const { NonEmpty } = EdgeValuedGraph;
A non-empty type-invariant immutable valued edge (undirected) graph. See the Graph documentation and the EdgeValuedGraph 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.