diff options
author | Thomas F. K. Jorna <[email protected]> | 2021-07-29 00:13:10 +0200 |
---|---|---|
committer | Thomas F. K. Jorna <[email protected]> | 2021-07-29 00:13:10 +0200 |
commit | 29fbfba2db6fdca308a9f88c3e757b2a36367955 (patch) | |
tree | 676998599c1de6c0f98d0259f6f79710a573fd1d /components/config.ts | |
parent | 938a8e121667ab8bb0e495af6b35d9cb1affdaa7 (diff) |
added color selectors
Diffstat (limited to 'components/config.ts')
-rw-r--r-- | components/config.ts | 32 |
1 files changed, 29 insertions, 3 deletions
diff --git a/components/config.ts b/components/config.ts index 753f2db..c6f581d 100644 --- a/components/config.ts +++ b/components/config.ts @@ -84,7 +84,33 @@ export const initialVisuals = { algorithms: algorithms, algorithmOptions: options, algorithmName: 'CubicOut', - linkColorScheme: 'plain', - nodeColorScheme: 'colorful', - highlightColor: 'purple', + linkColorScheme: 'grey', + 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 } |