From 15fdbd4e9e36c858709651e035fe1339dba3a1e9 Mon Sep 17 00:00:00 2001 From: "Thomas F. K. Jorna" Date: Sat, 16 Oct 2021 22:21:24 +0200 Subject: feat(labels): better ui for labels --- components/config.ts | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'components/config.ts') 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 { -- cgit v1.2.3