aboutsummaryrefslogtreecommitdiffstats
path: root/subprojects/frontend/src/graph/GraphArea.tsx
diff options
context:
space:
mode:
authorLibravatar Kristóf Marussy <kristof@marussy.com>2023-08-24 17:12:16 +0200
committerLibravatar Kristóf Marussy <kristof@marussy.com>2023-08-24 17:44:34 +0200
commitf20474c728e97af79a6d63783619c2515549b107 (patch)
tree2650578c70ecd6bad730086fdfdcf3a6387106ec /subprojects/frontend/src/graph/GraphArea.tsx
parentchore: clarify permissing licensing (diff)
downloadrefinery-f20474c728e97af79a6d63783619c2515549b107.tar.gz
refinery-f20474c728e97af79a6d63783619c2515549b107.tar.zst
refinery-f20474c728e97af79a6d63783619c2515549b107.zip
feat(frontend): automatic fit zoom
Diffstat (limited to 'subprojects/frontend/src/graph/GraphArea.tsx')
-rw-r--r--subprojects/frontend/src/graph/GraphArea.tsx2
1 files changed, 1 insertions, 1 deletions
diff --git a/subprojects/frontend/src/graph/GraphArea.tsx b/subprojects/frontend/src/graph/GraphArea.tsx
index 32147d92..a1a741f3 100644
--- a/subprojects/frontend/src/graph/GraphArea.tsx
+++ b/subprojects/frontend/src/graph/GraphArea.tsx
@@ -10,7 +10,7 @@ import ZoomCanvas from './ZoomCanvas';
10export default function GraphArea(): JSX.Element { 10export default function GraphArea(): JSX.Element {
11 return ( 11 return (
12 <ZoomCanvas> 12 <ZoomCanvas>
13 <DotGraphVisualizer /> 13 {(fitZoom) => <DotGraphVisualizer fitZoom={fitZoom} />}
14 </ZoomCanvas> 14 </ZoomCanvas>
15 ); 15 );
16} 16}