Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/rimbu/core/menu/menu.ts>Graph.NonValued.Arrow.Hashed

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
namespace Graph.NonValued.Arrow.Hashed
import { Graph } from "https://deno.land/x/rimbu@0.13.1/core/menu/menu.ts";
const { Hashed } = Graph.NonValued.Arrow;

Interfaces

A mutable ArrowGraphHashed builder used to efficiently create new immutable instances. See the Graph documentation and the ArrowGraphHashed.Builder API documentation

The ArrowGraphHashed'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 connections are internally maintained using hashed collections See the Graph documentation and the ArrowGraphHashed API documentation

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

interface Graph.NonValued.Arrow.Hashed
implements ArrowGraphBase<N, ArrowGraphHashed.Types>
import { type Graph } from "https://deno.land/x/rimbu@0.13.1/core/menu/menu.ts";
const { Hashed } = Graph.NonValued.Arrow;

An type-invariant immutable valued arrow (directed) graph. The connections are internally maintained using hashed collections See the Graph documentation and the ArrowGraphHashed API documentation

Examples

Example 1

const g1 = ArrowGraphHashed.empty<number>()
const g2 = ArrowGraphHashed.of([1], [2, 3], [2, 4])
variable Graph.NonValued.Arrow.Hashed
import { Graph } from "https://deno.land/x/rimbu@0.13.1/core/menu/menu.ts";
const { Hashed } = Graph.NonValued.Arrow;

type

ArrowGraphHashedCreators