Fixed Link force jiggling

This commit is contained in:
Pitchaya Boonsarngsuk
2018-01-24 21:14:09 +00:00
parent 3d55117977
commit 7c63fec0f7
2 changed files with 1 additions and 2 deletions

View File

@@ -35,7 +35,6 @@ function startLinkSimulation() {
return distanceFunction(n.source, n.target, props, norm);
})
// Set the parameter for the algorithm (optional).
.strength(1);
// Restart the simulation.
simulation.alpha(1).restart();
}