DiagramPropertyChangeObject API in JavaScript Diagram API control
PropertyChangeObject notifies whether it is node or connector
Properties
connector
ConnectorModel
returns the new source node or target node of the connector
node
NodeModel
returns the new source node or target node of the connector