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

Highlight list of nodes

$
0
0

@luddeb123 wrote:

I have a list of nodes that i get from the node itself. (what nodes it is related to). I can highlight one of the nodes but i can not find a way to highlight all of the nodes.

    var outResults = myDiagram.findNodesByExample({
                key: array[0]
            });
myDiagram.highlightCollection(outResults);

i want to loop over “array” and get all keys and highlight all of the nodes and not only the one on position 0 as i have now hard coded.

Posts: 2

Participants: 2

Read full topic


Viewing all articles
Browse latest Browse all 7069

Trending Articles