You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@airflow.apache.org by GitBox <gi...@apache.org> on 2022/02/28 14:49:26 UTC

[GitHub] [airflow] astronaut-chris opened a new issue #21870: Display TaskGroup types in Graph view legends

astronaut-chris opened a new issue #21870:
URL: https://github.com/apache/airflow/issues/21870


   ### Description
   
   In addition to the Operator types that are displayed in Airflow's graph's legend, show TaskGroup types, as well.
   
   ### Use case/motivation
   
   I create and utilize reusable TaskGroups. For instance, I have a multi-task TaskGroup that creates external stages, migrates a table, and copies data from the external stage into the table. It's completely reusable, and we use this task group across different DAGs with simple configuration changes.
   
   When I open up the graph view in Airflow, though, only the underlying operators of the task group are displayed in the Operator legend in the upper left-hand corner of the graph view. This can be confusing, because sometimes the fully-collapsed view of the DAG only shows task groups and no operators - so you end up looking at a graph that has no relationship to the legend until you expand one of the task groups (and the Operators become visible).
   
   It might be nice to support either (or both of):
   
   1. Displaying the custom TaskGroup's name alongside the rest of the legend.
   2. Only displaying a legend for what is currently visible in the graph view. e.g. If the fully-collapsed version of the DAG is only task groups, then only the TaskGroup names are in the legend, but when you expand a task group, the Operator names for the newly-visible operators are also displayed in the legend.
   
   
   ### Related issues
   
   _No response_
   
   ### Are you willing to submit a PR?
   
   - [ ] Yes I am willing to submit a PR!
   
   ### Code of Conduct
   
   - [X] I agree to follow this project's [Code of Conduct](https://github.com/apache/airflow/blob/main/CODE_OF_CONDUCT.md)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [airflow] boring-cyborg[bot] commented on issue #21870: Display TaskGroup types in Graph view legends

Posted by GitBox <gi...@apache.org>.
boring-cyborg[bot] commented on issue #21870:
URL: https://github.com/apache/airflow/issues/21870#issuecomment-1054332744


   Thanks for opening your first issue here! Be sure to follow the issue template!
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscribe@airflow.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org