Quantcast
Channel: GoJS - Northwoods Software
Viewing all articles
Browse latest Browse all 7069

LinkRelinked Event; get the disconnected node information

$
0
0

@jkainth wrote:

Hey
I am using the Tree Layout and model.

"LinkRelinked", the user has just reconnected an existing Link using RelinkingTool or DraggingTool;
the DiagramEvent.subject is the modified Link,
the DiagramEvent.parameter is the GraphObject port that the link was disconnected from,
and this is called within a transaction.

The parameter is the port - but i cant seem to find a way to actually get the disconnected node, to get the model data.
What i really need is the model data associated to the disconnected port so i can clean up some data after relink

thx

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles