summaryrefslogtreecommitdiff
path: root/components/config.ts
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-10-16 22:41:27 +0200
committerThomas F. K. Jorna <[email protected]>2021-10-16 22:41:27 +0200
commitf69c94297de4168175d02e9ead985b7420cb0bfc (patch)
tree101f62cdaaf52473a2cf324ed23b55f86740261c /components/config.ts
parent15fdbd4e9e36c858709651e035fe1339dba3a1e9 (diff)
feat(labels): better defaults
Diffstat (limited to 'components/config.ts')
-rw-r--r--components/config.ts8
1 files changed, 4 insertions, 4 deletions
diff --git a/components/config.ts b/components/config.ts
index a5d859e..32a4c21 100644
--- a/components/config.ts
+++ b/components/config.ts
@@ -56,11 +56,11 @@ export const initialVisuals = {
arrowsColor: '',
linkOpacity: 0.8,
linkWidth: 1,
- nodeRel: 4,
+ nodeRel: 3,
nodeOpacity: 1,
nodeResolution: 12,
labels: 2,
- labelScale: 1,
+ labelScale: 1.5,
labelFontSize: 10,
labelLength: 40,
labelWordWrap: 25,
@@ -69,12 +69,12 @@ export const initialVisuals = {
labelDynamicStrength: 0.5,
highlight: true,
highlightNodeSize: 1.1,
- highlightLinkSize: 1,
+ highlightLinkSize: 0.7,
highlightFade: 0.8,
highlightAnim: true,
animationSpeed: 360,
algorithmOptions: options,
- algorithmName: 'SinusoidalOut',
+ algorithmName: 'CircularOut',
linkColorScheme: 'gray.500',
nodeColorScheme: [
'red.500',