import { Arrow } from "https://deno.land/x/rimbu@1.0.3/core/menu/graph/valued/index.ts";
const { Hashed } = Arrow;
Interfaces
A mutable | |
The ArrowValuedGraphHashed'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 HashMaps See the Graph documentation and the ArrowValuedGraphHashed API documentation | |
Utility interface that provides higher-kinded types for this collection. |
import { type Arrow } from "https://deno.land/x/rimbu@1.0.3/core/menu/graph/valued/index.ts";
const { Hashed } = Arrow;
An type-invariant immutable valued arrow (directed) graph. The nodes are internally maintained using HashMaps See the Graph documentation and the ArrowValuedGraphHashed API documentation
Examples
Example 1
Example 1
const g1 = ArrowValuedGraphHashed.empty<number, string>()
const g2 = ArrowValuedGraphHashed.of([1], [2, 3, 'a'], [2, 4, 'b'])
import { Arrow } from "https://deno.land/x/rimbu@1.0.3/core/menu/graph/valued/index.ts";
const { Hashed } = Arrow;