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

x/rimbu/graph/custom/non-valued/interface/arrow-graph-creators.ts>ArrowGraphSortedCreators

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
interface ArrowGraphSortedCreators
implements [GraphBase.Factory]<ArrowGraphSorted.Types>
import { type ArrowGraphSortedCreators } from "https://deno.land/x/rimbu@1.0.3/graph/custom/non-valued/interface/arrow-graph-creators.ts";

Methods

createContext<UN>(options?: { linkMapContext?: SortedMap.Context<UN>; linkConnectionsContext?: SortedSet.Context<UN>; }): ArrowGraphSorted.Context<UN>

Returns a new ArrowValuedGraphSorted context instance based on the given options.

defaultContext<UN>(): ArrowGraphSorted.Context<UN>

Returns the default context for this type of graph.