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

x/rimbu/core/menu/graph/non-valued/index.ts>Arrow.Sorted

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

Interfaces

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

The ArrowGraphSorted'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 sorted collections See the Graph documentation and the ArrowGraphSorted API documentation

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

interface Arrow.Sorted
implements ArrowGraphBase<N, ArrowGraphSorted.Types>
import { type Arrow } from "https://deno.land/x/rimbu@0.13.1/core/menu/graph/non-valued/index.ts";
const { Sorted } = Arrow;

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

Examples

Example 1

const g1 = ArrowGraphSorted.empty<number>()
const g2 = ArrowGraphSorted.of([1], [2, 3], [2, 4])
variable Arrow.Sorted
import { Arrow } from "https://deno.land/x/rimbu@0.13.1/core/menu/graph/non-valued/index.ts";
const { Sorted } = Arrow;

type

ArrowGraphSortedCreators