Skip to content

Commit

Permalink
Update code.js
Browse files Browse the repository at this point in the history
  • Loading branch information
6jlarogap authored Nov 4, 2023
1 parent ef79401 commit 89201f3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion genesis/code.js
Original file line number Diff line number Diff line change
Expand Up @@ -538,7 +538,7 @@ d3.json(apiUrl, d3_json_parms)
}
else{
simulation = d3.forceSimulation(nodes);
simulation.force("link", d3.forceLink(links).id(d => d.id).distance(50).strength(1));
simulation.force("link", d3.forceLink(links).id(d => d.id).distance(150).strength(1));
// simulation.force("charge", d3.forceManyBody().strength(-13280).distanceMax(10050));
simulation.force("x", d3.forceX(width / 2).strength(0.1));
simulation.force("y", d3.forceY(height / 2).strength(0.1));
Expand Down

0 comments on commit 89201f3

Please sign in to comment.