Type alias GraphState

GraphState: {
    config: Config;
    graph: Graph;
    history: HistoryElement[];
    historyIndex: number;
}

Represents the state of a graph.

Type declaration

  • config: Config

    Configuration object for the graph.

  • graph: Graph

    Graph object.

  • history: HistoryElement[]

    History of the graph.

  • historyIndex: number

    Index of the current state in the history.

Generated using TypeDoc