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

Get link Data when LinkDrawn Diagram event

$
0
0

@chinenyem wrote:

I have the following:

LinkDrawn: getLinkData

function getLinkData(e) {
console.log(e.subject.fromNode.data, e.subject.toNode.data )
console.log(e.subject.toNode.data)

    }

However it is not showing me the link data array. Am I using the wrong diagram event method or the incorrect property within my named function getLinkData() ?

Posts: 3

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles