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

x/rimbu/graph/custom/index.ts>EdgeValuedGrapSortedCreators

Rimbu is a TypeScript library focused on immutable, performant, and type-safe collections and other tools.
Go to Latest
interface EdgeValuedGrapSortedCreators
implements [ValuedGraphBase.Factory]<EdgeValuedGraphSorted.Types>
import { type EdgeValuedGrapSortedCreators } from "https://deno.land/x/rimbu@0.13.5/graph/custom/index.ts";

Methods

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

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

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

Returns the default context for this type of graph.