1

I have been building a force directed Network from networkD3 using the forceNetwork method.

The graph looks like : enter image description here I am able to highlight a single node (and it's neighbors) and fade out others and that looks like:

enter image description here

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?

Community
  • 1
  • 1
Syamanthaka
  • 1,227
  • 2
  • 15
  • 23
  • If you show us your code, I could help you. It's too hard to piece together what you're working with based on multiple examples that you have modified. What type of object is your selected list of node objects? – CJ Yetman Apr 16 '17 at 10:00

0 Answers0