import { type Graph } from "https://deno.land/x/rimbu@1.1.0/core/menu/menu.ts";
const { NonEmpty } = Graph.Valued.Edge.Sorted;
A non-empty type-invariant immutable valued edge (undirected) graph. The nodes are internally maintained using SortedMaps See the Graph documentation and the EdgeValuedGraphSorted 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.