The compact depth tree layout represents a classical directed tree layout (e.g. with uniform parent placement), which compacts the depth of the tree drawing area. It produces both straight line and orthogonal tree drawings. This layout is very useful when arranging deep, unbalanced trees with different node sizes (class diagrams being a perfect example). In cases like these the layout guarantees that the drawing is with minimal depth.