diff options
author | 2023-08-24 17:12:16 +0200 | |
---|---|---|
committer | 2023-08-24 17:44:34 +0200 | |
commit | f20474c728e97af79a6d63783619c2515549b107 (patch) | |
tree | 2650578c70ecd6bad730086fdfdcf3a6387106ec /subprojects/frontend/src/graph/GraphArea.tsx | |
parent | chore: clarify permissing licensing (diff) | |
download | refinery-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.tsx | 2 |
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'; | |||
10 | export default function GraphArea(): JSX.Element { | 10 | export 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 | } |