more fiddling with d3

This commit is contained in:
Oliver Gorwits
2017-12-14 21:34:49 +00:00
parent 61a3a9e06d
commit 854f37fc94
3 changed files with 28 additions and 15 deletions

View File

@@ -10,7 +10,7 @@ onmessage = function(event) {
var simulation = d3.forceSimulation(nodes)
.force("charge", d3.forceManyBody())
.force("link", d3.forceLink(links).distance(20).strength(1))
.force("link", d3.forceLink(links).distance(200).strength(0.5))
.force("x", d3.forceX())
.force("y", d3.forceY())
.stop();