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

Adding custom data to link on creation depending on node data

$
0
0

@GSA wrote:

Hi,

I have nodes with a custom data property "nodeType". I have added the custom properties "fromType" and "toType" to my linktemplate. When I create a new link between two nodes I want to populate "fromType" with the value of "nodeType" in the fromnode, and "toType" with the value of "nodeType" in the tonode. How could I accomplish this?

Posts: 11

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles