Reduced spring length, decreased node border width, and changed node border color.

This commit is contained in:
Benjamin Arntzen (aider)
2024-06-27 10:24:03 +01:00
parent 357ef5228a
commit e39740d36d
+4 -4
View File
@@ -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'
}
},