Open batman6 opened 5 years ago
@batman6
{ from: 1, to: 2, color: { color:'#FFFFFF'} }
I'm able to perform the above task by adding the color: { color:'#FFFFFF'}
to the edge dataset.
the same can be performed in nodes dataset.
this doc might help http://visjs.org/docs/network/edges.html http://visjs.org/docs/data/dataset.html
I want to animate the color filling for nodes and edges so as to show the path and nodes visited. There is no option I have found till now. Can anyone help me with this? Suppose, edges:{ from:1, to:2 }
if I have a test data that matches this edge the animation for color must kick in i.e, testEdge:{ from:1, to:2 } animation for coloring edge from 1 to 2