summaryrefslogtreecommitdiff
path: root/components/config.ts
diff options
context:
space:
mode:
Diffstat (limited to 'components/config.ts')
-rw-r--r--components/config.ts6
1 files changed, 4 insertions, 2 deletions
diff --git a/components/config.ts b/components/config.ts
index 2636b73..b48cbe4 100644
--- a/components/config.ts
+++ b/components/config.ts
@@ -20,15 +20,16 @@ export const initialPhysics = {
collision: true,
collisionStrength: 20,
centering: true,
- centeringStrength: 0.05,
+ centeringStrength: 0.2,
linkStrength: 0.3,
linkIts: 1,
- alphaDecay: 0.1,
+ alphaDecay: 0.05,
alphaTarget: 0,
alphaMin: 0,
velocityDecay: 0.25,
gravity: 0.3,
gravityOn: true,
+ gravityLocal: false,
}
export const initialFilter = {
@@ -117,6 +118,7 @@ export const initialMouse = {
highlight: 'hover',
local: 'click',
follow: 'double',
+ context: 'right',
}
export const colorList = [