diff options
author | Thomas F. K. Jorna <[email protected]> | 2021-07-30 22:01:17 +0200 |
---|---|---|
committer | Thomas F. K. Jorna <[email protected]> | 2021-07-30 22:01:17 +0200 |
commit | 34bffd1bb0dc119dc7214a990772210b2da12bbc (patch) | |
tree | ed6d1b96aa55056d05f260e2420130c3d3768238 /components/config.ts | |
parent | 1da75b17e31940f212a8a49aadf442547b05691a (diff) |
lots of label customization + fixes
Diffstat (limited to 'components/config.ts')
-rw-r--r-- | components/config.ts | 24 |
1 files changed, 21 insertions, 3 deletions
diff --git a/components/config.ts b/components/config.ts index d538941..5c0a922 100644 --- a/components/config.ts +++ b/components/config.ts @@ -84,15 +84,33 @@ export const initialVisuals = { algorithms: algorithms, algorithmOptions: options, algorithmName: 'CubicOut', - linkColorScheme: '500', - nodeColorScheme: ['gray', 'red', 'orange', 'yellow', 'green', 'cyan', 'blue', 'pink', 'purple'], + linkColorScheme: 'gray.500', + nodeColorScheme: [ + 'red.500', + 'orange.500', + 'yellow.500', + 'green.500', + 'cyan.500', + 'blue.500', + 'pink.500', + 'purple.500', + ], nodeHighlight: '', - linkHighlight: '', + linkHighlight: 'purple.500', backgroundColor: 'white', emacsNodeColor: '', + labelTextColor: 'black', + labelBackgroundColor: 'white', + labelBackgroundOpacity: 0.7, } export const initialBehavior = { follow: 'Zoom', followLocalOrZoom: true, } + +export const initialMouse = { + highlight: 'hover', + local: 'click', + follow: 'double', +} |