import { Graph } from "https://deno.land/x/rimbu@1.1.0/core/menu/menu.ts";
const { Sorted } = Graph.Valued.Arrow;
Interfaces
A mutable | |
The ArrowValuedGraphSorted's Context instance that serves as a factory for all related immutable instances and builders. | |
A non-empty type-invariant immutable valued arrow (directed) graph. The nodes are internally maintained using SortedMaps See the Graph documentation and the ArrowValuedGraphSorted API documentation | |
Utility interface that provides higher-kinded types for this collection. |
import { type Graph } from "https://deno.land/x/rimbu@1.1.0/core/menu/menu.ts";
const { Sorted } = Graph.Valued.Arrow;
An type-invariant immutable valued arrow (directed) graph. The nodes are internally maintained using SortedMaps See the Graph documentation and the ArrowValuedGraphSorted API documentation
Examples
Example 1
Example 1
const g1 = ArrowValuedGraphSorted.empty<number, string>()
const g2 = ArrowValuedGraphSorted.of([1], [2, 3, 'a'], [2, 4, 'b'])
import { Graph } from "https://deno.land/x/rimbu@1.1.0/core/menu/menu.ts";
const { Sorted } = Graph.Valued.Arrow;