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

Highlighting not connected nodes in a tree

$
0
0

@gal007 wrote:

Hi, I'm trying to highlight some nodes that contains a concrete word. The problem is that every example of highlighting I found is based on connected nodes or mouse events (mouseEnter, mouseLeave) but I need to change the color of the matching nodes by clicking a button outside the canvas. So my real problem is: how can I traverse all the nodes in the diagram for checking that property and finally changing their color?

I can traverse the json specified in "nodeDataArray": nodes, but I can not change their style directly. Any idea??

Thanks in advance!

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles