var force = d3.layout.force() .size([width, height]) .nodes(nodes) .charge(-5000) .linkDistance(400) .links(links) .on(\'start\', start) .on("tick", tick);