A New Heuristic Layout Algorithm for DAGs

Directed acyclic graphs (DAGs) are a common representation of hierarchical relationships and are widely used in software and information engineering, system theory, and others. The usefulness depends on a readable, understandable and easy to remember layout. The key problem in making such a good layout is the reduction of numbers of arc crossings. We focus on the two layer problem and make a fresh attempt at a heuristic method of arc crossing reduction based on a stochastic approach. The “stochastic” heuristic is described in detail. The results of the approach are analyzed. A comparison of these results with the mostly used methods of barycentering and median-ordering is given. The “stochastic” heuristic is shown to be preferable in terms of Warfield’s generating matrices.

[1]  John N. Warfield,et al.  Crossing Theory and Hierarchy Mapping , 1977, IEEE Transactions on Systems, Man, and Cybernetics.

[2]  Emden R. Gansner,et al.  A Technique for Drawing Directed Graphs , 1993, IEEE Trans. Software Eng..

[3]  Shinichi Tamura,et al.  Pattern Classification Based on Fuzzy Relations , 1971, IEEE Trans. Syst. Man Cybern..

[4]  Salah E. Elmaghraby,et al.  Activity networks: Project planning and control by network models , 1977 .

[5]  David S. Johnson,et al.  Crossing Number is NP-Complete , 1983 .

[6]  Mitsuhiko Toda,et al.  Methods for Visual Understanding of Hierarchical System Structures , 1981, IEEE Transactions on Systems, Man, and Cybernetics.

[7]  Marie-Jose Carpano,et al.  Automatic Display of Hierarchized Graphs for Computer-Aided Decision Analysis , 1980, IEEE Transactions on Systems, Man, and Cybernetics.

[8]  Carlo Batini,et al.  Automatic graph drawing and readability of diagrams , 1988, IEEE Trans. Syst. Man Cybern..

[9]  Ioannis G. Tollis,et al.  Algorithms for Drawing Graphs: an Annotated Bibliography , 1988, Comput. Geom..

[10]  K. P. Vo,et al.  DAG—a program that draws directed graphs , 1988, Softw. Pract. Exp..