Combining hierarchy and energy for drawing directed graphs.
We present an algorithm for drawing directed graphs which is based on rapidly solving a unique one-dimensional optimization problem for each of the axes. The algorithm results in a clear description of the hierarchy structure of the graph. Nodes are not restricted to lie on fixed horizontal layers, resulting in layouts that convey the symmetries of the graph very naturally. The algorithm can be applied without change to cyclic or acyclic digraphs and even to graphs containing both directed and undirected edges. We also derive a hierarchy index from the input digraph, which quantitatively measures its amount of hierarchy.
Carmel
Liran
L
Department of Computer Science and Applied Mathematics, the Weizmann Institute of Science, Rehovot 76100, Israel. liran@wisdom.weizmann.ac.il
Harel
David
D
Koren
Yehuda
Y
D000465:Algorithms; D003196:Computer Graphics; D007089:Image Enhancement / Q000379:methods; D007090:Image Interpretation, Computer-Assisted / Q000379:methods*; D021621:Imaging, Three-Dimensional / Q000379:methods; D010151:Paintings; D010363:Pattern Recognition, Automated; D012815:Signal Processing, Computer-Assisted; D014584:User-Computer Interface