Add data lineage graph to AssetGraph
Related Issue
#50873
Why
- The current asset graph doesn’t display data dependencies.
How
- add a toggle to switch between scheduling and data lineage gragh
https://github.com/user-attachments/assets/49aacac6-7cce-4f6a-87d5-b6a3605810f2
^ Add meaningful description above
Read the Pull Request Guidelines for more information.
In case of fundamental code changes, an Airflow Improvement Proposal (AIP) is needed.
In case of a new dependency, check compliance with the ASF 3rd Party License Policy.
In case of backwards incompatible changes please leave a note in a newsfragment file, named {pr_number}.significant.rst or {issue_number}.significant.rst, in airflow-core/newsfragments.
Wait, so is this to show the tasks inside the Dag instead?
Yes, that’s my current understanding. Based on the discussion in the issue, it seems the intention is to show the tasks inside the dag. But I’m not completely certain, so I’m happy to adjust the implementation if needed.
I've updated the implementation to split them into two views and add a button to switch between two different graph
https://github.com/user-attachments/assets/79504e56-0dfc-48d0-8c7c-4c485532e680