An object that can generate unique identifiers for nodes. See BaseGraph.Class.setNodeIdGenerator.

interface IdGenerator {
    newId(graph: BaseGraph.Class<BaseGraph.Data, BaseGraph.ScratchData>): string;
}

Implemented by

Methods

Methods