Abstract
An orthogonal drawing of a graph is a drawing such that vertices are placed on grid points and edges are drawn as sequences of vertical and horizontal segments. In this paper we present linear time algorithms that produce orthogonal drawings of graphs with n nodes. If the maximum degree is four, then the drawing produced by our first algorithm needs area no greater than 0.76n 2, and introduces no more than 2n + 2 bends. Also, every edge of such a drawing has at most two bends. Our algorithm is based on forming and placing pairs of vertices of the graph. If the maximum degree is three, then the drawing produced by our second algorithm needs at most 1/4n 2 area, and at most ILn/2 + 2l + 1⌋ bends (⌊n/2⌋ + 3 bends, if the graph is biconnected), where l is the number of biconnected components that are leaves in the block tree. For biconnected graphs, this algorithm produces optimal drawings with respect to the number of bends (within a constant of two), since there is a lower bound of n/2 + 1 in the number of bends for orthogonal drawings of degree 3 graphs.
Research supported in part by NIST, Advanced Technology Program grant number 70NANB5H1162.
Chapter PDF
Similar content being viewed by others
References
Therese Biedl, “Embedding Nonplanar Graphs in the Rectangular Grid”, Rutcor Research Report 27–93, 1993.
Therese Biedl, “New Lower Bounds for Orthogonal Graph Drawings”, Proc. of GD '95, Lecture Notes in Comp, Sci., 1027, Springer-Verlag, 1995, pp. 28–39.
T. Biedl and G. Kant, “A Better Heuristic for Orthogonal Graph Drawings”, Technical Report, Utrecht Univ., Dept. of Comp. Sci., UU-CS-1995-04. Prelim. version appeared in Proc. 2nd Ann. European Symposium on Algorithms (ESA '94), Lecture Notes in Computer Science, vol. 855, pp. 24–35, Springer-Verlag, 1994.
G. DiBattista, P. Eades, R. Tamassia and I. Tollis, “Algorithms for Drawing Graphs: An Annotated Bibliography”, Computational Geometry: Theory and Applications, vol. 4, no 5, 1994, pp. 235–282. Also available via anonymous ftp from ftp.cs.brown.edu, gdbiblio.tex.Z and gdbiblio.ps.Z in /pub/papers/compgeo.
G. DiBattista, A. Garg, G. Liotta, R. Tamassia, E. Tassinari and F. Vargiu, “An Experimental Comparison of Three Graph Drawing Algorithms”, Proc. of ACM Symp. on Computational Geometry, pp. 306–315, 1995. The version of the paper with the four algorithms can be obtained from http://www.cs.brown/people/rt.
G. DiBattista, G. Liotta and F. Vargiu, “Spirality of orthogonal representations and optimal drawings of series-parallel graphs and 3-planar graphs,” Proc. Workshop on Algorithms and Data Structures, Lecture Notes in Computer Science 709, Springer-Verlag, 1993, pp. 151–162.
S. Even and G. Granot, “Rectilinear Planar Drawings with Few Bends in Each Edge”, Tech. Report 797, Comp. Science Dept., Technion, Israel Inst. of Tech., 1994.
S. Even and R.E. Tarjan, “Computing an st-numbering”, Theor. Comp. Sci. 2 (1976), pp. 339–344.
A. Garg and R. Tamassia, “On the Computational Complexity of Upward and Rectilinear Planarity Testing”, Proc. DIMACS Workshop GD '94, Lecture Notes in Comp. Sci. 894, Springer-Verlag, 1994, pp. 286–297.
Goos Kant, “Drawing planar graphs using the lmc-ordering”, Proc. 33th Ann. IEEE Symp. on Found. of Comp. Science, 1992, pp. 101–110.
F. T. Leighton, “New lower bound techniques for VLSI”, Proc. 22nd Ann. IEEE Symp. on Found. of Comp. Science, 1981, pp. 1–12.
Charles E. Leiserson, “Area-Efficient Graph Layouts (for VLSI)”, Proc. 21st Ann. IEEE Symp. on Found. of Comp. Science, 1980, pp. 270–281.
A. Papakostas and I. G. Tollis, “Algorithms for Area-Efficient Orthogonal Drawings”, Tech. Report UTDCS-06-95, The University of Texas at Dallas, 1995. Also available on the WWW at http://wwwpub.utdallas.edu/∼tollis.
A. Papakostas and I. G. Tollis, “Improved Algorithms and Bounds for Orthogonal Drawings”, Proc. DIMACS Workshop GD '94, Lecture Notes in Comp. Sci. 894, Springer-Verlag, 1994, pp. 40–51.
A. Papakostas and I. G. Tollis, “Issues in Interactive Orthogonal Graph Drawing”, Proc. of GD '95, Lecture Notes in Comp. Sci. 1027, Springer-Verlag, 1995, pp. 419–430.
Markus Schäffter, “Drawing Graphs on Rectangular Grids”, Discr. Appl. Math. 63 (1995), pp. 75–89.
J. Storer, “On minimal node-cost planar embeddings”, Networks 14 (1984), pp. 181–212.
R. Tamassia, “On embedding a graph in the grid with the minimum number of bends”, SIAM J. Comput. 16 (1987), pp. 421–444.
R. Tamassia and I. Tollis, “Planar Grid Embeddings in Linear Time”, IEEE Trans. on Circuits and Systems CAS-36 (1989), pp. 1230–1234.
R. Tamassia, I. Tollis and J. Vitter, “Lower Bounds for Planar Orthogonal Drawings of Graphs”, Information Processing Letters 39 (1991), pp. 35–40.
L. Valiant, “Universality Considerations in VLSI Circuits”, IEEE Trans. on Comp., vol. C-30, no 2, (1981), pp. 135–140.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1997 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Papakostas, A., Tollis, I.G. (1997). A pairing technique for area-efficient orthogonal drawings (extended abstract). In: North, S. (eds) Graph Drawing. GD 1996. Lecture Notes in Computer Science, vol 1190. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-62495-3_60
Download citation
DOI: https://doi.org/10.1007/3-540-62495-3_60
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-62495-0
Online ISBN: 978-3-540-68048-2
eBook Packages: Springer Book Archive