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
The following commit(s) were added to refs/heads/v3-0-test by this push:
new 3bf1bc1369c Update screenshots for Dags (#49527)
3bf1bc1369c is described below
commit 3bf1bc1369c4a34bab9d82eaf6553da31b451852
Author: Jens Scheffler <[email protected]>
AuthorDate: Tue Apr 22 10:23:22 2025 +0200
Update screenshots for Dags (#49527)
* Update screenshots for Dags
* Convert mp4 to gif
---------
Co-authored-by: Kaxil Naik <[email protected]>
(cherry picked from commit e855b057eff30860b7bb5cb5572e0691e692814b)
---
airflow-core/docs/core-concepts/dags.rst | 10 +++++-----
airflow-core/docs/img/basic-dag.png | Bin 12837 -> 0 bytes
airflow-core/docs/img/branch_note.png | Bin 31259 -> 0 bytes
airflow-core/docs/img/branch_with_trigger.png | Bin 28541 -> 0 bytes
airflow-core/docs/img/branch_without_trigger.png | Bin 28914 -> 0 bytes
airflow-core/docs/img/task_group.gif | Bin 137189 -> 0 bytes
airflow-core/docs/img/ui-dark/basic_dag.png | Bin 0 -> 17577 bytes
airflow-core/docs/img/ui-dark/branch_note.png | Bin 0 -> 37976 bytes
airflow-core/docs/img/ui-dark/branch_with_trigger.png | Bin 0 -> 35762 bytes
.../docs/img/ui-dark/branch_without_trigger.png | Bin 0 -> 37206 bytes
airflow-core/docs/img/ui-dark/task_group.gif | Bin 0 -> 224817 bytes
airflow-core/docs/img/ui-light/basic_dag.png | Bin 0 -> 17997 bytes
airflow-core/docs/img/ui-light/branch_note.png | Bin 0 -> 38672 bytes
airflow-core/docs/img/ui-light/branch_with_trigger.png | Bin 0 -> 35825 bytes
.../docs/img/ui-light/branch_without_trigger.png | Bin 0 -> 37074 bytes
airflow-core/docs/img/ui-light/task_group.gif | Bin 0 -> 177836 bytes
16 files changed, 5 insertions(+), 5 deletions(-)
diff --git a/airflow-core/docs/core-concepts/dags.rst
b/airflow-core/docs/core-concepts/dags.rst
index 5e28b6eae57..59fc1805ae9 100644
--- a/airflow-core/docs/core-concepts/dags.rst
+++ b/airflow-core/docs/core-concepts/dags.rst
@@ -26,7 +26,7 @@ Dags
Here's a basic example DAG:
-.. image:: /img/basic-dag.png
+.. image:: /img/ui-light/basic_dag.png
It defines four Tasks - A, B, C, and D - and dictates the order in which they
have to run, and which tasks depend on what others. It will also say how often
to run the DAG - maybe "every 5 minutes starting tomorrow", or "every day since
January 1st, 2020".
@@ -331,7 +331,7 @@ The task_id returned by the Python function has to
reference a task directly dow
.. note::
When a Task is downstream of both the branching operator *and* downstream
of one or more of the selected tasks, it will not be skipped:
- .. image:: /img/branch_note.png
+ .. image:: /img/ui-light/branch_note.png
The paths of the branching task are ``branch_a``, ``join`` and
``branch_b``. Since ``join`` is a downstream task of ``branch_a``, it will
still be run, even though it was not returned as part of the branch decision.
@@ -491,11 +491,11 @@ You can also combine this with the
:ref:`concepts:depends-on-past` functionality
``join`` is downstream of ``follow_branch_a`` and ``branch_false``. The
``join`` task will show up as skipped because its ``trigger_rule`` is set to
``all_success`` by default, and the skip caused by the branching operation
cascades down to skip a task marked as ``all_success``.
- .. image:: /img/branch_without_trigger.png
+ .. image:: /img/ui-light/branch_without_trigger.png
By setting ``trigger_rule`` to ``none_failed_min_one_success`` in the
``join`` task, we can instead get the intended behaviour:
- .. image:: /img/branch_with_trigger.png
+ .. image:: /img/ui-light/branch_with_trigger.png
Setup and teardown
@@ -550,7 +550,7 @@ A TaskGroup can be used to organize tasks into hierarchical
groups in Graph view
Tasks in TaskGroups live on the same original DAG, and honor all the DAG
settings and pool configurations.
-.. image:: /img/task_group.gif
+.. image:: /img/ui-light/task_group.gif
Dependency relationships can be applied across all tasks in a TaskGroup with
the ``>>`` and ``<<`` operators. For example, the following code puts ``task1``
and ``task2`` in TaskGroup ``group1`` and then puts both tasks upstream of
``task3``:
diff --git a/airflow-core/docs/img/basic-dag.png
b/airflow-core/docs/img/basic-dag.png
deleted file mode 100644
index 595e555885e..00000000000
Binary files a/airflow-core/docs/img/basic-dag.png and /dev/null differ
diff --git a/airflow-core/docs/img/branch_note.png
b/airflow-core/docs/img/branch_note.png
deleted file mode 100644
index 409874c30fc..00000000000
Binary files a/airflow-core/docs/img/branch_note.png and /dev/null differ
diff --git a/airflow-core/docs/img/branch_with_trigger.png
b/airflow-core/docs/img/branch_with_trigger.png
deleted file mode 100644
index c2f11ea6bb9..00000000000
Binary files a/airflow-core/docs/img/branch_with_trigger.png and /dev/null
differ
diff --git a/airflow-core/docs/img/branch_without_trigger.png
b/airflow-core/docs/img/branch_without_trigger.png
deleted file mode 100644
index 39b5d9593ad..00000000000
Binary files a/airflow-core/docs/img/branch_without_trigger.png and /dev/null
differ
diff --git a/airflow-core/docs/img/task_group.gif
b/airflow-core/docs/img/task_group.gif
deleted file mode 100644
index b7844f862da..00000000000
Binary files a/airflow-core/docs/img/task_group.gif and /dev/null differ
diff --git a/airflow-core/docs/img/ui-dark/basic_dag.png
b/airflow-core/docs/img/ui-dark/basic_dag.png
new file mode 100644
index 00000000000..f62203ea869
Binary files /dev/null and b/airflow-core/docs/img/ui-dark/basic_dag.png differ
diff --git a/airflow-core/docs/img/ui-dark/branch_note.png
b/airflow-core/docs/img/ui-dark/branch_note.png
new file mode 100644
index 00000000000..6e27b68a86b
Binary files /dev/null and b/airflow-core/docs/img/ui-dark/branch_note.png
differ
diff --git a/airflow-core/docs/img/ui-dark/branch_with_trigger.png
b/airflow-core/docs/img/ui-dark/branch_with_trigger.png
new file mode 100644
index 00000000000..04467635005
Binary files /dev/null and
b/airflow-core/docs/img/ui-dark/branch_with_trigger.png differ
diff --git a/airflow-core/docs/img/ui-dark/branch_without_trigger.png
b/airflow-core/docs/img/ui-dark/branch_without_trigger.png
new file mode 100644
index 00000000000..6c30d728ca8
Binary files /dev/null and
b/airflow-core/docs/img/ui-dark/branch_without_trigger.png differ
diff --git a/airflow-core/docs/img/ui-dark/task_group.gif
b/airflow-core/docs/img/ui-dark/task_group.gif
new file mode 100644
index 00000000000..32ed29f8b2c
Binary files /dev/null and b/airflow-core/docs/img/ui-dark/task_group.gif differ
diff --git a/airflow-core/docs/img/ui-light/basic_dag.png
b/airflow-core/docs/img/ui-light/basic_dag.png
new file mode 100644
index 00000000000..458ee61544b
Binary files /dev/null and b/airflow-core/docs/img/ui-light/basic_dag.png differ
diff --git a/airflow-core/docs/img/ui-light/branch_note.png
b/airflow-core/docs/img/ui-light/branch_note.png
new file mode 100644
index 00000000000..0a3d923d1a9
Binary files /dev/null and b/airflow-core/docs/img/ui-light/branch_note.png
differ
diff --git a/airflow-core/docs/img/ui-light/branch_with_trigger.png
b/airflow-core/docs/img/ui-light/branch_with_trigger.png
new file mode 100644
index 00000000000..eb171565321
Binary files /dev/null and
b/airflow-core/docs/img/ui-light/branch_with_trigger.png differ
diff --git a/airflow-core/docs/img/ui-light/branch_without_trigger.png
b/airflow-core/docs/img/ui-light/branch_without_trigger.png
new file mode 100644
index 00000000000..c2d726506c5
Binary files /dev/null and
b/airflow-core/docs/img/ui-light/branch_without_trigger.png differ
diff --git a/airflow-core/docs/img/ui-light/task_group.gif
b/airflow-core/docs/img/ui-light/task_group.gif
new file mode 100644
index 00000000000..39b7f94da12
Binary files /dev/null and b/airflow-core/docs/img/ui-light/task_group.gif
differ