summaryrefslogtreecommitdiff
path: root/components/config.ts
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-10-16 22:21:24 +0200
committerThomas F. K. Jorna <[email protected]>2021-10-16 22:25:07 +0200
commit15fdbd4e9e36c858709651e035fe1339dba3a1e9 (patch)
treed5c7ac4405fc78589fa2d6b2c303d051191dc780 /components/config.ts
parent0ae9d628fabab8664c38d15bd6b5084a32c8eca2 (diff)
feat(labels): better ui for labels
Diffstat (limited to 'components/config.ts')
-rw-r--r--components/config.ts10
1 files changed, 6 insertions, 4 deletions
diff --git a/components/config.ts b/components/config.ts
index 60e68f3..a5d859e 100644
--- a/components/config.ts
+++ b/components/config.ts
@@ -65,12 +65,14 @@ export const initialVisuals = {
labelLength: 40,
labelWordWrap: 25,
labelLineSpace: 1,
+ labelDynamicDegree: 8,
+ labelDynamicStrength: 0.5,
highlight: true,
- highlightNodeSize: 1.2,
- highlightLinkSize: 2,
+ highlightNodeSize: 1.1,
+ highlightLinkSize: 1,
highlightFade: 0.8,
highlightAnim: true,
- animationSpeed: 420,
+ animationSpeed: 360,
algorithmOptions: options,
algorithmName: 'SinusoidalOut',
linkColorScheme: 'gray.500',
@@ -105,7 +107,7 @@ export const initialVisuals = {
refLinkHighlightColor: '',
refNodeColor: 'black',
nodeSizeLinks: 0.5,
- nodeZoomSize: 1.3,
+ nodeZoomSize: 1.2,
}
export interface TagColors {