diff options
author | Thomas F. K. Jorna <[email protected]> | 2021-07-29 06:07:45 +0200 |
---|---|---|
committer | Thomas F. K. Jorna <[email protected]> | 2021-07-29 06:07:45 +0200 |
commit | e0c6d0ec5091536734288ab06ad4587b43387d2f (patch) | |
tree | 6716d07880f76e88999b3c03389e71886c4b9a59 /components/config.ts | |
parent | 29fbfba2db6fdca308a9f88c3e757b2a36367955 (diff) |
handled all the link color cases
Diffstat (limited to 'components/config.ts')
-rw-r--r-- | components/config.ts | 28 |
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', } |