Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/rimbu/graph/main/index.ts>VariantGraph

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
namespace VariantGraph
import { VariantGraph } from "https://deno.land/x/rimbu@1.0.0/graph/main/index.ts";

Interfaces

A non-empty type-variant immutable graph. See the Graph documentation and the VariantGraph API documentation

Utility interface that provides higher-kinded types for this collection.

interface VariantGraph
implements VariantGraphBase<N, unknown, VariantGraph.Types>
import { type VariantGraph } from "https://deno.land/x/rimbu@1.0.0/graph/main/index.ts";

An type-variant immutable graph. See the Graph documentation and the VariantGraph API documentation

Properties

readonly
linkMap: VariantMap<N, VariantSet<N>>

Returns the nested Map representation of the graph connections.