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

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

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

Interfaces

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

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.

interface ArrowValuedGraphSorted
implements ArrowValuedGraphBase<N, V, ArrowValuedGraphSorted.Types>
import { type ArrowValuedGraphSorted } from "https://deno.land/x/rimbu@0.13.5/graph/main/index.ts";

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

const g1 = ArrowValuedGraphSorted.empty<number, string>()
const g2 = ArrowValuedGraphSorted.of([1], [2, 3, 'a'], [2, 4, 'b'])
variable ArrowValuedGraphSorted
import { ArrowValuedGraphSorted } from "https://deno.land/x/rimbu@0.13.5/graph/main/index.ts";

type

ArrowValuedGraphSortedCreators