Introduced a new layout algorithm for the hierarchical system based on the direction of the edges.