Description
The ability to apply a sort order (alphabetical, alphanumeric, etc.) for tasks or nested TaskGroups contained in an outer TaskGroup, on the graph view of the dag.
Use case/motivation
I have a dag with 4 TaskGroups, each containing several nested TaskGroups which each contain a chain of tasks. I would like for these to display within the outer TaskGroup in alphabetical order so that it's easier to compare runs at a glance. I know that it currently sorts the nested TaskGroups in alphabetical order in the grid view, but that may just be a side-effect of the fact that the list[Dict] that the nested TaskGroups were created from were wrapped with the sorted() function when they were being assigned to their respective variables in my dag script.
In my case, each of the nested TaskGroups contains the same number of chained tasks and none of the nested TaskGroups have any dependencies.
An example of the structure:
- Outer TaskGroup
-- Inner TaskGroup_1
--- tg_1_1 --> tg_1_2 --> tg_1_3 --> tg_1_4
-- Inner TaskGroup_2
--- tg_2_1 --> tg_2_2 --> tg_2_3 --> tg_2_4
-- Inner TaskGroup_3
--- tg_3_1 --> tg_3_2 --> tg_3_3 --> tg_3_4
Related issues
No response
Are you willing to submit a PR?
Code of Conduct
Description
The ability to apply a sort order (alphabetical, alphanumeric, etc.) for tasks or nested TaskGroups contained in an outer TaskGroup, on the graph view of the dag.
Use case/motivation
I have a dag with 4 TaskGroups, each containing several nested TaskGroups which each contain a chain of tasks. I would like for these to display within the outer TaskGroup in alphabetical order so that it's easier to compare runs at a glance. I know that it currently sorts the nested TaskGroups in alphabetical order in the grid view, but that may just be a side-effect of the fact that the
list[Dict]that the nested TaskGroups were created from were wrapped with thesorted()function when they were being assigned to their respective variables in my dag script.In my case, each of the nested TaskGroups contains the same number of chained tasks and none of the nested TaskGroups have any dependencies.
An example of the structure:
-- Inner TaskGroup_1
--- tg_1_1 --> tg_1_2 --> tg_1_3 --> tg_1_4
-- Inner TaskGroup_2
--- tg_2_1 --> tg_2_2 --> tg_2_3 --> tg_2_4
-- Inner TaskGroup_3
--- tg_3_1 --> tg_3_2 --> tg_3_3 --> tg_3_4
Related issues
No response
Are you willing to submit a PR?
Code of Conduct