summaryrefslogtreecommitdiff
path: root/components/config.ts
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-07-28 21:45:53 +0200
committerThomas F. K. Jorna <[email protected]>2021-07-28 21:45:53 +0200
commit938a8e121667ab8bb0e495af6b35d9cb1affdaa7 (patch)
tree3fd0f4516c02c9924d6f9f2391dafabee28e7b6a /components/config.ts
parentf9aac2c130dbec61c9466ae4b932aa9b4158d309 (diff)
added the ability to change the main highlight color
Diffstat (limited to 'components/config.ts')
-rw-r--r--components/config.ts24
1 files changed, 24 insertions, 0 deletions
diff --git a/components/config.ts b/components/config.ts
index d6c2296..753f2db 100644
--- a/components/config.ts
+++ b/components/config.ts
@@ -64,3 +64,27 @@ export const initialFilter = {
links: [],
date: [],
}
+
+export const initialVisuals = {
+ particles: false,
+ particlesNumber: 0,
+ particlesWidth: 4,
+ linkOpacity: 0.7,
+ linkWidth: 1,
+ nodeRel: 4,
+ nodeOpacity: 0.9,
+ nodeResolution: 8,
+ labels: 2,
+ labelScale: 1.5,
+ highlight: true,
+ highlightNodeSize: 2,
+ highlightLinkSize: 2,
+ highlightAnim: false,
+ animationSpeed: 250,
+ algorithms: algorithms,
+ algorithmOptions: options,
+ algorithmName: 'CubicOut',
+ linkColorScheme: 'plain',
+ nodeColorScheme: 'colorful',
+ highlightColor: 'purple',
+}