The mainly improve that i want to achieve is to help developers to explore the DAG information in the Web UI in complex flows.
Sometimes is very dificult to know what part of your spark plan corresponds to the DAG you are looking.
This is an initial improvement only in one simple spark plan type (UnionExec).
If you consider it a good idea, i want to extend it to other spark plans to improve the visualization iteratively.
More info in the pull request