import { type EdgeGraph } from "https://deno.land/x/rimbu@0.13.5/graph/main/index.ts";
const { NonEmpty } = EdgeGraph;
A non-empty type-invariant immutable edge (undirected) graph.
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.
See the Graph documentation and the EdgeGraph API documentation