Drawing Graphs in Two Layers

Abstract Let G=(U,L,E) be a bipartite graph with vertex set U ∪ L and edge set E ⊆ U x L. A typical convention for drawing G is to put the vertices of U on a line and the vertices of L on a separate, parallel line and then to represent edges by placing open straight line segments between the vertices that determine them. In this convention, a drawing is biplanar if edges do not cross, and a subgraph of G is biplanar if it has a biplanar drawing. The main results of this paper are the following: (1) it is NP-complete to determine whether G has a biplanar subgraph with at least K edges; (2) it is also NP-complete to determine whether G has such a subgraph when the positions for the vertices in either U or L are specified; (3) when the positions of the vertices in both U and L are specified, the problem can be solved in polynomial time by transformation to the longest ascending subsequence problem.

[1]  M. Pachter,et al.  An algorithm for the determination of a longest increasing subsequence in a sequence , 1989 .

[2]  Xuemin Lin,et al.  How to draw a directed graph , 1989, [Proceedings] 1989 IEEE Workshop on Visual Languages.

[3]  Robert H. Henry,et al.  Automatic layout of large directed graphs , 1988 .

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

[5]  Kozo Sugiyama,et al.  A cognitive approach for graph drawing , 1987 .

[6]  Walter F. Tichy,et al.  Edge: An extendible graph editor , 1990, Softw. Pract. Exp..

[7]  Jeffrey D Ullma Computational Aspects of VLSI , 1984 .

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

[9]  Carl Sechen,et al.  VLSI Placement and Global Routing Using Simulated Annealing , 1988 .

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

[11]  Majid Sarrafzadeh,et al.  An optimal algorithm for the maximum two-chain problem , 1990, SODA '90.

[12]  Lawrence A. Rowe,et al.  A browser for directed graphs , 1987, Softw. Pract. Exp..

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

[14]  Erkki Mäkinen,et al.  Experiments on drawing 2-level hierarchical graphs , 1990, Int. J. Comput. Math..

[15]  David S. Johnson,et al.  Computers and In stractability: A Guide to the Theory of NP-Completeness. W. H Freeman, San Fran , 1979 .

[16]  David S. Johnson,et al.  Computers and Intractability: A Guide to the Theory of NP-Completeness , 1978 .

[17]  Brendan D. McKay,et al.  On an edge crossing problem , 1986 .

[18]  Leslie G. Valiant,et al.  Fast probabilistic algorithms for hamiltonian circuits and matchings , 1977, STOC '77.