manyBody.distanceMin()

manyBody.distanceMin([distance])

If distance is specified, sets the minimum distance between nodes over which this force is considered. If distance is not specified, returns the current minimum distance, which defaults to 1. A minimum distance establishes an upper bound on the strength of the force between two nearby nodes, avoiding instability. In particular, it avoids an infinitely-strong force if two nodes are exactly coincident; in this case, the direction of the force is random.

doc_D3_Js
2016-11-24 10:28:04
Comments
Leave a Comment

Please login to continue.