Search results

IConnectionChangeEventArgs API in JavaScript Diagram API control

IConnectionChangeEventArgs notifies when the connector is connected or disconnect from the node.

Properties

cancel

boolean

returns whether to cancel the change or not

connector

ConnectorModel

returns the selected connector

connectorEnd

string

returns the connector end

newValue

Connector | Object

returns the new source or target node of the element

oldValue

Connector | Object

returns the previous source or target node of the element

state

EventState

returns the state of connection end point dragging (starting, dragging, completed)