Skip to content Skip to sidebar Skip to footer

D3: Show Network Reaching Layout, Then Stop Force

I'm trying to get my D3 network to freeze after it reaches a nice layout (alpha reaches 0). I want the force to stop completely, even when a node is dragged (the user should be ab

Solution 1:

Check the stop condition in the tick event handler -- this way you can redraw the network on each tick and stop.


Post a Comment for "D3: Show Network Reaching Layout, Then Stop Force"