Firstly I would like you thank you guys for this amazing library.I just wanted to ask you a few question on transitions.bellow is a transition that works :
1- When we pass selection what exactly are we passing ?
2 - Is there a way to do a transition whenever we add or remove to/from g something like this : svg.select('g.node') .transition().duration(500);
Hey everyone
Firstly I would like you thank you guys for this amazing library.I just wanted to ask you a few question on transitions.bellow is a transition that works :
g.graph().transition = function(selection) { return selection.transition().duration(500); };
However
1- When we pass selection what exactly are we passing ? 2 - Is there a way to do a transition whenever we add or remove to/from g something like this : svg.select('g.node') .transition().duration(500);