Reduced spring length, decreased node border width, and changed node border color.
This commit is contained in:
+4
-4
@@ -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'
|
||||
}
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user