Decreased spring length and disabled node overlap avoidance.
This commit is contained in:
+2
-2
@@ -177,9 +177,9 @@ const options = {
|
||||
gravitationalConstant: -50,
|
||||
centralGravity: 0.01,
|
||||
springConstant: 0.08,
|
||||
springLength: 140, // Increased from 100 to 140
|
||||
springLength: 100,
|
||||
damping: 0.4,
|
||||
avoidOverlap: 0.1 // Changed from 0 to 0.1
|
||||
avoidOverlap: 0
|
||||
},
|
||||
stabilization: {
|
||||
enabled: true,
|
||||
|
||||
Reference in New Issue
Block a user