I have been building a force directed Network from networkD3
using the forceNetwork
method.
The graph looks like :
I am able to highlight a single node (and it's neighbors) and fade out others and that looks like:
The code for this is based on this jsfiddle, except that I have linked the node value to a search box, for which I had received help in this question
Now I expanded my search to have a list of node names. And I need all the nodes in that list to get highlighted and rest to fade. How do I alter properties of a selected list of node objects?