summaryrefslogtreecommitdiff
path: root/components/config.ts
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-10-16 23:07:19 +0200
committerGitHub <[email protected]>2021-10-16 23:07:19 +0200
commitca2fa3dc8d405d0ec451f16b9fcc72cde6bbf470 (patch)
treea98c1af5379688b57985eebe051ffdb9422dbbb5 /components/config.ts
parenteb794cc2183595a4f42be393db6b52478053000c (diff)
parent677702087e7b1e001a489412f4ed26dfaa138df6 (diff)
Merge pull request #117 from org-roam/feat/better-labels
Feat/better labels
Diffstat (limited to 'components/config.ts')
-rw-r--r--components/config.ts16
1 files changed, 9 insertions, 7 deletions
diff --git a/components/config.ts b/components/config.ts
index 60e68f3..32a4c21 100644
--- a/components/config.ts
+++ b/components/config.ts
@@ -56,23 +56,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',
@@ -105,7 +107,7 @@ export const initialVisuals = {
refLinkHighlightColor: '',
refNodeColor: 'black',
nodeSizeLinks: 0.5,
- nodeZoomSize: 1.3,
+ nodeZoomSize: 1.2,
}
export interface TagColors {