Class: AIPathGraph2D
- inherit from: AIPathGraph
Constructors
- new AIPathGraph2D(nodes: Map): AIPathGraph2D
Methods
- addNode(nid: string, node: AIPathNode, biRelations: boolean): AIPathNode
- findNode(predicateFn: Function)
- findNodes(predicateFn: Function)
- getDistance(a: AIPathNode, b: AIPathNode): number
- getNode(nid: string): AIPathNode
- loadFromFile(path: string): Promise
- removeNode(nid: string): void
- removeNodeRelation(nid: string, cnid: string): void
- reset(): void
- setNodeProperties(nid: string, properties: Partial): void