From 97eb28a26da754adfdf00f9df6a9e4251d71583a Mon Sep 17 00:00:00 2001 From: Nils Schneider Date: Sun, 3 Jun 2012 14:53:36 +0200 Subject: [PATCH] tweak force constants --- html/force.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/html/force.js b/html/force.js index f036ba0..5698c53 100644 --- a/html/force.js +++ b/html/force.js @@ -21,8 +21,8 @@ var vis = d3.select("#chart").append("svg") d3.json("nodes.json", function(json) { var force = d3.layout.force() - .charge(-350) - .gravity(0.05) + .charge(-100) + .gravity(0.02) .friction(0.75) .theta(0.1) .linkDistance(function (d) { return d.distance; })