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

Change thickness and color of particular set of links in treemodel

$
0
0

@rahimhaji wrote:

Dear Friends,

Please tell me in the below diagram (iam using tree model),
https://forum.nwoods.com/uploads/db3963/original/2X/0/074ec7b6f09ade1280234d6d2488f4be455f8d38.jpeg

if I want to change a particular links (may be set of links) color and thickness is it possible? pls tell me how can I change that particular set of links color and thickness.

my doubt is, if I use graphic models I have link array and I can change like below:
diagram.model.linkDataArray[inc].strokeWidth = thick;

if it is tree model how can I fetch those links and nodes? my requirement Is, each link will be in different thickness and different colors. so if I don’t have linkdataarray how can I change?

where can I give binding?

Thanks and Regards,
Syed Abdul Rahim

Posts: 5

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles