How to create more compact output (nodes of same level displayed not on same level)


I have a tree structure with one parent and a lot of direct children and some of these children have children again etc.
The problem is, is that the output graph is very wide. I would like to make if more compact. I do not want to change the read direction from "top to bottom" to "left to right".
In the picture is the current situation from Dot (all nodes which have the same level are displayed on the same level) and the desired output (nodes which have the same level do not need to be displayed on the same level).
(do not pay attention to the lines between the nodes, they are only illustrative).

Which command should I give?

Thanks for your help in advance.

Drawing1.gif20.04 KB

How to create more compact

Recent comments