Apache Airflow version
2.6.0
What happened
If a task_group in a dag has prefix_group_id=false in its config, the new graph won't render correctly. When the group is collapsed nothing is shown and there is an error in the console. When the group is expanded, the nodes will render but its edges become disconnected. As reported in #29852 (comment)
This is because we use the prefix to determine where an edge is supposed to be rendered. We shouldn't make that assumption and actually iterate through the nodes to find where an edge belongs.
What you think should happen instead
It renders like any other task group
How to reproduce
Add prefix_group_id=false to a task group
Operating System
any
Versions of Apache Airflow Providers
No response
Deployment
Official Apache Airflow Helm Chart
Deployment details
No response
Anything else
No response
Are you willing to submit PR?
Code of Conduct
Apache Airflow version
2.6.0
What happened
If a task_group in a dag has
prefix_group_id=falsein its config, the new graph won't render correctly. When the group is collapsed nothing is shown and there is an error in the console. When the group is expanded, the nodes will render but its edges become disconnected. As reported in #29852 (comment)This is because we use the prefix to determine where an edge is supposed to be rendered. We shouldn't make that assumption and actually iterate through the nodes to find where an edge belongs.
What you think should happen instead
It renders like any other task group
How to reproduce
Add
prefix_group_id=falseto a task groupOperating System
any
Versions of Apache Airflow Providers
No response
Deployment
Official Apache Airflow Helm Chart
Deployment details
No response
Anything else
No response
Are you willing to submit PR?
Code of Conduct