You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by ka...@apache.org on 2025/06/03 10:05:37 UTC
(airflow) 06/08: Increase max zoom (#50772)
This is an automated email from the ASF dual-hosted git repository.
kaxilnaik pushed a commit to branch v3-0-test
in repository https://gitbox.apache.org/repos/asf/airflow.git
commit db76ca494aa86e06abd7d2502b6a1d75679862d0
Author: Brent Bovenzi <br...@astronomer.io>
AuthorDate: Mon May 19 10:55:09 2025 -0400
Increase max zoom (#50772)
(cherry picked from commit 3672a6ba7fae1e92e47b07a20535d09594c76253)
---
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 89a11ad11a9..4837e18d401 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 94055eadcde..370a77a8f54 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}