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

x/rimbu/graph/custom/non-valued/interface/edge-graph-creators.ts>EdgeGraphSortedCreators

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

Methods

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

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

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

Returns the default context for this type of graph.