summaryrefslogtreecommitdiff
path: root/components/config.ts
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-10-17 01:14:41 +0200
committerThomas F. K. Jorna <[email protected]>2021-10-17 01:14:41 +0200
commitd1f02171bd4727fb0c09657d6fe0f21f5cde9617 (patch)
treec1f4e920c0cfa2e9a2dfa1605d242e25cd28bfdd /components/config.ts
parent85b665b343d63096a3e62c210931040a44b07a1b (diff)
parentca2fa3dc8d405d0ec451f16b9fcc72cde6bbf470 (diff)
feat(algos): merge
Diffstat (limited to 'components/config.ts')
-rw-r--r--components/config.ts20
1 files changed, 13 insertions, 7 deletions
diff --git a/components/config.ts b/components/config.ts
index 669942b..d61e416 100644
--- a/components/config.ts
+++ b/components/config.ts
@@ -59,23 +59,25 @@ 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,
labelLineSpace: 1,
+ labelDynamicDegree: 8,
+ labelDynamicStrength: 0.5,
highlight: true,
- highlightNodeSize: 1.2,
- highlightLinkSize: 2,
+ highlightNodeSize: 1.1,
+ highlightLinkSize: 0.7,
highlightFade: 0.8,
highlightAnim: true,
- animationSpeed: 420,
+ animationSpeed: 360,
algorithmOptions: options,
- algorithmName: 'SinusoidalOut',
+ algorithmName: 'CircularOut',
linkColorScheme: 'gray.500',
nodeColorScheme: [
'red.500',
@@ -108,7 +110,7 @@ export const initialVisuals = {
refLinkHighlightColor: '',
refNodeColor: 'black',
nodeSizeLinks: 0.5,
- nodeZoomSize: 1.3,
+ nodeZoomSize: 1.2,
}
export interface TagColors {
@@ -131,6 +133,10 @@ export const initialMouse = {
backgroundExitsLocal: false,
}
+export const initialLocal = {
+ neighbors: 1,
+}
+
export const colorList = [
'red.500',
'orange.500',