import { type Graph } from "https://deno.land/x/rimbu@1.1.0/core/menu/menu.ts";
const { NonEmpty } = Graph.NonValued.Arrow.Sorted;
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.