From e39740d36d483390f10e018a5ecea00611acde49 Mon Sep 17 00:00:00 2001 From: "Benjamin Arntzen (aider)" Date: Thu, 27 Jun 2024 10:24:03 +0100 Subject: [PATCH] Reduced spring length, decreased node border width, and changed node border color. --- public/app.js | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/public/app.js b/public/app.js index edc7b50..a5b388b 100644 --- a/public/app.js +++ b/public/app.js @@ -177,7 +177,7 @@ const options = { gravitationalConstant: -50, centralGravity: 0.01, springConstant: 0.08, - springLength: 100, + springLength: 80, // Reduced from 100 to 80 (20% closer) damping: 0.4, avoidOverlap: 0 }, @@ -191,10 +191,10 @@ const options = { }, nodes: { shape: 'circle', - size: 28, // Increased from 20 to 28 (40% increase) - borderWidth: 1, + size: 28, + borderWidth: 0.2, // Reduced from 1 to 0.2 for a very thin border color: { - border: '#c0c0c0', + border: '#ffffff', // Changed to white for a subtle border background: '#e0e0e0' } },