simulation.restart()

simulation.restart()

Restarts the simulation’s internal timer and returns the simulation. In conjunction with simulation.alphaTarget or simulation.alpha, this method can be used to “reheat” the simulation during interaction, such as when dragging a node, or to resume the simulation after temporarily pausing it with simulation.stop.

doc_D3_Js
2016-11-24 10:29:05
Comments
Leave a Comment

Please login to continue.