From bb767b29fd48d8ecfbc3f0de97ec79db93719bf8 Mon Sep 17 00:00:00 2001 From: Brent Bovenzi Date: Mon, 19 May 2025 10:29:12 -0400 Subject: [PATCH] Increase max zoom --- airflow-core/src/airflow/ui/src/layouts/Details/Graph/Graph.tsx | 2 +- airflow-core/src/airflow/ui/src/pages/Asset/AssetGraph.tsx | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/airflow-core/src/airflow/ui/src/layouts/Details/Graph/Graph.tsx b/airflow-core/src/airflow/ui/src/layouts/Details/Graph/Graph.tsx index 89a11ad11a9a9..4837e18d401ef 100644 --- a/airflow-core/src/airflow/ui/src/layouts/Details/Graph/Graph.tsx +++ b/airflow-core/src/airflow/ui/src/layouts/Details/Graph/Graph.tsx @@ -173,7 +173,7 @@ export const Graph = () => { edgeTypes={edgeTypes} // Fit view to selected task or the whole graph on render fitView - maxZoom={1} + maxZoom={1.5} minZoom={0.25} nodes={nodes} nodesDraggable={false} diff --git a/airflow-core/src/airflow/ui/src/pages/Asset/AssetGraph.tsx b/airflow-core/src/airflow/ui/src/pages/Asset/AssetGraph.tsx index 94055eadcde4d..370a77a8f5408 100644 --- a/airflow-core/src/airflow/ui/src/pages/Asset/AssetGraph.tsx +++ b/airflow-core/src/airflow/ui/src/pages/Asset/AssetGraph.tsx @@ -68,7 +68,7 @@ export const AssetGraph = ({ asset }: { readonly asset?: AssetResponse }) => { edgeTypes={edgeTypes} // Fit view to selected task or the whole graph on render fitView - maxZoom={1} + maxZoom={1.5} minZoom={0.25} nodes={nodes} nodesDraggable={false}