Hello, I am currently attaching a listener to the "Modified"
to my Diagram
instance. It currently fires twic, once when the diagram gets a bunch of new nodes added to it, and one more time after I move one of the newly created nodes. Any subsequent moves I make of the Node
(by clicking and dragging it to a new locus) do not fire the "Modified"
event. Is there an Event which fires after ever Node
re-positioning?
The “Modified” DiagramEvent occurs when the value of Diagram.isModified changes, as documented at DiagramEvent | GoJS API. Clearly once the diagram is modified it remains modified after repeated moves.
You probably want the “SelectionMoved” DiagramEvent.