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