airflow-diagrams icon indicating copy to clipboard operation
airflow-diagrams copied to clipboard

Render Airflow TaskGroups with Clusters

Open nathadfield opened this issue 2 years ago • 3 comments

Airflow DAGs that utilise TaskGroups would be better represented if we were to make use of Clusters

nathadfield avatar Jan 21 '22 09:01 nathadfield

The problem I have with this feature is that retrieving the information from airflow whether it belongs to a taskgroup or not is unsafe. We cannot retrieve it from the rest api directly as it currently only is a UI concept. I have to parse the task_id 😟.

But we can give it a try.

feluelle avatar Jan 24 '22 06:01 feluelle

Yes, that's true and presumably gets trickier if there are multiple levels of TaskGroups? I know there is a desire to make TaskGroups more than just a UI construct so perhaps this will be easier in the future.

nathadfield avatar Jan 24 '22 08:01 nathadfield

Exactly. I believe I have heard something similar, too. Once it becomes a not-only UI concept anymore, tackling this issue will become much easier.

feluelle avatar Jan 24 '22 09:01 feluelle