react-diagrams icon indicating copy to clipboard operation
react-diagrams copied to clipboard

NodeModel.positionChanged recognizes state updates as a position update

Open amonrperes opened this issue 2 years ago • 0 comments

Our company uses react-diagrams as a major feature of our system. Recently we noticed that when one of our nodes updates it's state without being moved from it's current position, the 'positionChanged' method is triggered. We had to create an algorithm to detect whether the node changed it's position using the NodeModel.getPosition.

Is this behaviour correct?

amonrperes avatar May 19 '22 21:05 amonrperes