From 89201f3a5196e4bfd3b470681224d5fec329f0bc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=91=D0=BB=D0=B0=D0=B3=D0=BE=D0=B4=D0=B0=D1=80?= <62824780+6jlarogap@users.noreply.github.com> Date: Sat, 4 Nov 2023 18:45:32 +0300 Subject: [PATCH] Update code.js --- genesis/code.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/genesis/code.js b/genesis/code.js index 00cd4e5a..60f4e082 100644 --- a/genesis/code.js +++ b/genesis/code.js @@ -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));