Link force add end condition
This commit is contained in:
@@ -14,7 +14,9 @@ function startLinkSimulation() {
|
||||
force = d3.forceLinkFullyConnected()
|
||||
.distance(function (n, m) {
|
||||
return distanceFunction(n, m, props, norm);
|
||||
});
|
||||
})
|
||||
.stableVelocity(0.000001) //TODO
|
||||
.onStableVelo(ended);
|
||||
}
|
||||
else {
|
||||
for (i = nodes.length-1; i >= 1; i--) {
|
||||
|
||||
Reference in New Issue
Block a user