react-diagrams
react-diagrams copied to clipboard
TypeError: Cannot read properties of undefined (reading 'x')
Pathfinding dependence issue
Line issue:
endX = this.endNode.x,
Line where is issue
My solution:
endX = this.endNode?.x, endY = this.endNode?.y