Skip to main content

interface ArrowGraphCreators

undocumented

Methods​

createContext​

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

Definition​

createContext<UN>(options: {
    linkMapContext: RMap.Context<UN>;
    linkConnectionsContext: RSet.Context<UN>;
  }): ArrowGraph.Context<UN>;

Type parameters​

NameDescription
UNthe upper node type for which the context can create instances

Parameters​

NameTypeDescription
options{
    linkMapContext: RMap.Context<UN>;
    linkConnectionsContext: RSet.Context<UN>;
  }
an object containing the following properties:
- linkMapContext: the map context to use to maintain link maps
- linkConnectionsContext: the set context to use to maintain link connection maps