import { EdgeGraphHashed } from "https://deno.land/x/rimbu@1.0.2/graph/main/index.ts";
Interfaces
A mutable | |
The EdgeGraphHashed's Context instance that serves as a factory for all related immutable instances and builders. | |
A non-empty type-invariant immutable valued edge (undirected) graph. The connections are internally maintained using hashed collections See the Graph documentation and the EdgeGraphHashed API documentation | |
Utility interface that provides higher-kinded types for this collection. |
import { type EdgeGraphHashed } from "https://deno.land/x/rimbu@1.0.2/graph/main/index.ts";
An type-invariant immutable valued edge (undirected) graph. The connections are internally maintained using hashed collections See the Graph documentation and the EdgeGraphHashed API documentation
Examples
Example 1
Example 1
const g1 = EdgeGraphHashed.empty<number>()
const g2 = EdgeGraphHashed.of([1], [2, 3], [2, 4])
import { EdgeGraphHashed } from "https://deno.land/x/rimbu@1.0.2/graph/main/index.ts";