summaryrefslogtreecommitdiff
path: root/components/config.ts
diff options
context:
space:
mode:
authorThomas F. K. Jorna <[email protected]>2021-07-29 06:07:45 +0200
committerThomas F. K. Jorna <[email protected]>2021-07-29 06:07:45 +0200
commite0c6d0ec5091536734288ab06ad4587b43387d2f (patch)
tree6716d07880f76e88999b3c03389e71886c4b9a59 /components/config.ts
parent29fbfba2db6fdca308a9f88c3e757b2a36367955 (diff)
handled all the link color cases
Diffstat (limited to 'components/config.ts')
-rw-r--r--components/config.ts28
1 files changed, 2 insertions, 26 deletions
diff --git a/components/config.ts b/components/config.ts
index c6f581d..2c7a1b6 100644
--- a/components/config.ts
+++ b/components/config.ts
@@ -84,33 +84,9 @@ export const initialVisuals = {
algorithms: algorithms,
algorithmOptions: options,
algorithmName: 'CubicOut',
- linkColorScheme: 'grey',
+ linkColorScheme: '500',
nodeColorScheme: ['gray', 'red', 'orange', 'yellow', 'green', 'cyan', 'blue', 'pink', 'purple'],
nodeHighlight: '',
linkHighlight: '',
-}
-
-export type Visuals = {
- particles: boolean
- particlesNumber: number
- particlesWidth: number
- linkOpacity: number
- linkWidth: number
- nodeRel: number
- nodeOpacity: number
- nodeResolution: number
- labels: number
- labelScale: number
- highlight: boolean
- highlightNodeSize: number
- highlightLinkSize: number
- highlightAnim: boolean
- animationSpeed: number
- algorithms: typeof algorithms
- algorithmOptions: typeof options
- algorithmName: string
- linkColorScheme: string
- nodeColorScheme: string[]
- nodeHighlight: string
- linkHighlight: string
+ backgroundColor: 'white',
}