I have created a a force directed graph that when i click a button it changes to a layout i chose myself and when i click a different button it goes back to force layout.
I have done a transition so it does this over time, but the thing is the links don't move correctly. They move differently to the nodes.
How do i get it so the links are in the same position as the nodes all the time ?
Also, i have a button which goes back to the force layout. But i am unable to go back overtime ? How do i put a delay/duration on bringing the force layout back into play?