Skip to content

Commit db76ca4

Browse files
bbovenzikaxil
authored andcommitted
Increase max zoom (#50772)
(cherry picked from commit 3672a6b)
1 parent 7cf2f9b commit db76ca4

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

airflow-core/src/airflow/ui/src/layouts/Details/Graph/Graph.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -173,7 +173,7 @@ export const Graph = () => {
173173
edgeTypes={edgeTypes}
174174
// Fit view to selected task or the whole graph on render
175175
fitView
176-
maxZoom={1}
176+
maxZoom={1.5}
177177
minZoom={0.25}
178178
nodes={nodes}
179179
nodesDraggable={false}

airflow-core/src/airflow/ui/src/pages/Asset/AssetGraph.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ export const AssetGraph = ({ asset }: { readonly asset?: AssetResponse }) => {
6868
edgeTypes={edgeTypes}
6969
// Fit view to selected task or the whole graph on render
7070
fitView
71-
maxZoom={1}
71+
maxZoom={1.5}
7272
minZoom={0.25}
7373
nodes={nodes}
7474
nodesDraggable={false}

0 commit comments

Comments
 (0)