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?
Greetings! iam not using graphicslinkmodel. Iam using treemodel. in treemodel we dont have link array to bind.
myDiagram.linkTemplate = (go.Link,
(go.Shape,
new go.Binding(“stroke”, “color”),
new go.Binding(“strokeWidth”, “width”),
new go.Binding(“strokeDashArray”, “dash”))
);