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

x/rimbu/graph/custom/index.ts>GraphBase.Context

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
interface GraphBase.Context
implements Factory<Tp, UN>
import { type GraphBase } from "https://deno.land/x/rimbu@1.2.0/graph/custom/index.ts";
const { Context } = GraphBase;

Properties

readonly
_fixedType: UN
readonly
typeTag: string

A string tag defining the specific collection type

readonly
linkMapContext: WithGraphValues<Tp, UN, unknown>["linkMapContext"]

The context instance used to create internal link maps

readonly
linkConnectionsContext: WithGraphValues<Tp, UN, unknown>["linkConnectionsContext"]

The context instance used to create internal connection collections

readonly
isDirected: boolean

Returns true if the graphs created by this context are arrow (directed) graphs.