Abstract
In this paper, we present algorithms to produce orthogonal drawings of arbitrary graphs. As opposed to most known algorithms, we do not restrict ourselves to graphs with maximum degree 4. The best previous result gave an \((m - 1) \times \left( {\tfrac{m}{2} + 1} \right)\)-grid for graphs with n nodes and m edges.
We present algorithms for two scenarios. In the static scenario, the graph is given completely in advance. We produce a drawing on a grid of size at most \(\frac{{m + n}}{2} \times \frac{{m + n}}{2}\), or on a larger grid where the aspect ratio of the nodes is bounded. Furthermore, we give upper and lower bounds for drawings of the complete graph K n in the underlying model. In the incremental scenario, the graph is given one node at a time, and the placement of previous nodes can not be changed for later nodes. We then come close to the bounds achieved in the static case and get at most an \(\left( {\tfrac{m}{2} + n} \right) \times \left( {\tfrac{2}{3}m + n} \right)\)-grid. In both algorithms, every edge gets at most one bend, thus, the total number of bends is at most m.
Then we focus on planar graphs and outer-planar graphs. We obtain planar drawings in an (m−n+1) x min \(\left\{ {\tfrac{m}{2},m - n + 1} \right\}\)-grid with m-n bends for planar triconnected graphs. The best previous result here was an m x m-grid and m bends, if the boxes of the nodes are constrained to be small.
All algorithms work in linear time.
The research was partly funded by the NIST Advanced Technology Program Award No. 70NANB5111162" and by the German Research Society, Grant DFG Ka/4-2.
Preview
Unable to display preview. Download preview PDF.
References
T. Biedl, B. Madden, and I. Tollis. The Three-Phase Method: A Unified Approach to Orthogonal Graph Drawing. Tech. Report, University of Texas at Dallas, UTDCS 03-97, 1997.
T.H. Cormen, C.E. Leiserson, and R.L. Rivest. Introduction to Algorithms. MIT Press, McGraw-Hill Book Company, 1990.
G. Di Battista, P. Eades, R. Tamassia, and I. Tollis. Algorithms for drawing graphs: an annotated bibliography. Computational Geometry: Theory and Applications, 4(5):235–282, 1994.
P.F. Dietz and D.D. Sleator. Two algorithms for maintaining order in a list. In Proc. 19th Annual ACM Symp. Theory of Computing, pp. 365–372, 1987.
S. Even and R.E. Tarjan. Computing an st-numbering. Theoretical Computer Science, 2:436–441, 1976.
U. Fößmeier, G. Kant, and M. Kaufmann. 2-visibility drawings of planar graphs. In S. North, editor, Symp. on Graph Drawing, GD 96, volume 1190 of Lecture Notes in Computer Science, pp. 155–168. Springer Verlag, 1997.
U. Fößmeier and M. Kaufmann. Drawing high degree graphs with low bend numbers. In F. Brandenburg, editor, Symp. on Graph Drawing, GD 95, volume 1027 of Lecture Notes in Computer Science, pp. 254–266. Springer Verlag, 1996.
M. Garey and D. Johnson. Computers and Intractability: A Guide to the Theory of NP-Completeness. Freeman, 1979.
J. Hutchinson, T. Shermer, and A. Vince. On representation of some thickness-two graphs. In F. Brandenburg, editor, Symp. on Graph Drawing, GD 95, volume 1027 of Lecture Notes in Computer Science, pp. 324–332. Springer Verlag, 1996.
G. Kant. Algorithms for Drawing Planar Graphs. PhD thesis, Univ. Utrecht, 1993.
A. Lempel, S. Even, and I. Cederbaum. An algorithm for planarity testing of graphs. In Proc. of Theory of Graphs, Int. Symp. Rome, pp. 215–232. 1966.
A. Papakostas and I. Tollis. Issues in interactive orthogonal graph drawing. In F. Brandenburg, editor, Symp. on Graph Drawing, GD 95, volume 1027 of Lecture Notes in Computer Science, pp. 419–430. Springer Verlag, 1996.
A. Papakostas and I. Tollis. High-degree orthogonal drawings with small grid-size and few bends. Workshop on Algorithms and Data Structures, WADS 97, Lecture Notes in Computer Science. To appear.
P. Rosenstiehl and E. Tarjan. Rectilinear Planar Layouts and Bipolar Orientations of Planar Graphs. Discrete Computational Geometry, 1:343–353, 1986.
R. Tamassia, G. Di Battista, and C. Batini. Automatic graph drawing and readability of diagrams. IEEE Trans. on Systems, Man and Cybernetics, 18(1), 1988.
R. Tamassia and I. Tollis. A unified approach to visibility representations of planar graphs. Discrete Computational Geometry, 1:321–341, 1986.
Author information
Authors and Affiliations
Editor information
Rights and permissions
Copyright information
© 1997 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Biedl, T.C., Kaufmann, M. (1997). Area-efficient static and incremental graph drawings. In: Burkard, R., Woeginger, G. (eds) Algorithms — ESA '97. ESA 1997. Lecture Notes in Computer Science, vol 1284. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-63397-9_4
Download citation
DOI: https://doi.org/10.1007/3-540-63397-9_4
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-63397-6
Online ISBN: 978-3-540-69536-3
eBook Packages: Springer Book Archive