almende / vis

⚠️ This project is not maintained anymore! Please go to https://github.com/visjs
7.84k stars 1.48k forks source link

Network Example Neighbourhood Highlight is broken #3949

Open mojoaxel opened 6 years ago

mojoaxel commented 6 years ago

This example is no longer working:

http://visjs.org/examples/network/exampleApplications/neighbourhoodHighlight.html

Once a node is clicked, all nodes are greyed out except for the first and second order connected nodes.

gabrieltrindade commented 6 years ago

Hi @mojoaxel , have you been able to find a workaround for this?

I wanted to have specific colors for each group of nodes I have, but that makes the graying function to stop working. So for now I am not using groups, but cannot used the undefined property on the loops, just specific rgba values.