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

Dynamic Link templates based on the data of the Node object

$
0
0

@ruth_psychx86 wrote:

Hi, I have an array of objects for the node, each node object has a linkType key. If link type is A I want the linkTemplate for that particular node to be A. If the link type is B I want the linkTemplate to be B for that particular node. I am able to achieve this with if and else in condition but the problem is whichever template us loaded latest. That template is used for each node. How can I control this?

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 6969

Trending Articles