summaryrefslogtreecommitdiff
path: root/components
diff options
context:
space:
mode:
Diffstat (limited to 'components')
-rw-r--r--components/config.ts1
-rw-r--r--components/tweaks.tsx7
2 files changed, 8 insertions, 0 deletions
diff --git a/components/config.ts b/components/config.ts
index daf548c..2487168 100644
--- a/components/config.ts
+++ b/components/config.ts
@@ -95,6 +95,7 @@ export const initialVisuals = {
refLinkColor: 'gray.400',
refLinkHighlightColor: '',
refNodeColor: 'black',
+ nodeSizeLinks: 2,
}
export interface TagColors {
diff --git a/components/tweaks.tsx b/components/tweaks.tsx
index 9ff994e..bed075f 100644
--- a/components/tweaks.tsx
+++ b/components/tweaks.tsx
@@ -711,6 +711,13 @@ export const Tweaks = (props: TweakProps) => {
value={visuals.nodeRel}
onChange={(value) => setVisuals({ ...visuals, nodeRel: value })}
/>
+ <SliderWithInfo
+ label="Node connections size scale"
+ value={visuals.nodeSizeLinks}
+ min={0}
+ max={2}
+ onChange={(value) => setVisuals({ ...visuals, nodeSizeLinks: value })}
+ />
{threeDim && (
<>
<SliderWithInfo