Abstract
Graph drawing research has been mostly oriented toward two-dimensional drawings. This paper describes an investigation of fundamental aspects of three-dimensional graph drawing. In particular we give three results concerning the space required for three-dimensional drawings.
We show how to produce a grid drawing of an arbitraryn-vertex graph with all vertices located at integer grid points, in ann×2n×2n grid, such that no pair of edges cross. This grid size is optimal to within a constant. We also show how to convert an orthogonal two-dimensional drawing in anH×V integer grid to a three-dimensional drawing with\(\left\lceil {\sqrt H } \right\rceil \times \left\lceil {\sqrt H } \right\rceil \times V\) volume. Using this technique we show, for example, that three-dimensional drawings of binary trees can be computed with volume\(\left\lceil {\sqrt n } \right\rceil \times \left\lceil {\sqrt n } \right\rceil \times \left\lceil {\log n} \right\rceil \). We give an algorithm for producing drawings of rooted trees in which thez-coordinate of a node represents the depth of the node in the tree; our algorithm minimizes thefootprint of the drawing, that is, the size of the projection in thexy plane.
Finally, we list significant unsolved problems in algorithms for three-dimensional graph drawing.
Similar content being viewed by others
References
G. Di Battista, R. Tamassia, and I. G. Tollis. Area requirement and symmetry display in drawing graphs.Proc. ACM Symp. on Computational Geometry, pages 51–60, 1989.
G. Di Battista, R. Tamassia, and I. G. Tollis. Area requirement and symmetry display of planar upward drawings.Discrete and Computational Geometry, 7:381–401, 1992.
J. A. Bondy and U. S. R. Murty.Graph Theory with Applications. North-Holland, New York, 1976.
P. Crescenzi, G. Di Battista, and A. Piperno. A. note on optimal area algorithms for upward drawings, of binary trees. Technical Report 11.91, Dipartimento di Informatica e Sistemistica, Univ. di Roma “La Sapienza”, 1991.
P. Eades, T. Lin, and X. Lin. Minimum size h-v drawings. InAdvanced Visual Interfaces (Proceedings of AVI 92, Rome), World Scientific Series in Computer Science, volume 36, pages 386–394, 1992.
P. Eades, T. Lin, and X. Lin. Two tree drawing conventions.International Journal of Computational Geometry and Applications, 3(2):133–153, 1993.
P. Eades, C. Stirk, and S. Whitesides. The techniques of Kologorov and Barzdin for three-dimensional orthogonal graph drawing.Information Processing Letters, to appear.
J. D. Foley and A. van Dam,Fundamentals of Interactive Computer Graphics, Addison-Wesley, Reading, MA, 1982.
A. Garg, M. T. Goodrich, and R. Tamassia. Area-efficient upward tree drawings.Proc. ACM Symp. on Computational Geometry, pages 359–368, 1993.
D. Knuth.The Art of Computer Programming. Volume 1:Fundamental Algorithms Addison-Wesley, Reading, MA, 1975.
J. Mackinley, G. Robertson, and S. Card. Cone trees: Animated 3d visualizations of hierarchical information.Proceedings of SIGCHI Conference on Human Factors in Computing, pages 189–194, 1991.
S. Moen. Drawing dynamic trees.IEEE Software, 7:21–8, 1990.
P. Reid. Dynamic interactive display of complex data structures. InGraphics Tools for Software Engineers, pages 60–62. Cambridge University Press, Cambridge, 1989.
E. Reingold and J. Tilford. Tidier drawing of trees.IEEE Transactions on Software Engineering 7(2):223–228, 1981.
R. Tamassia. Planar orthogonal drawings of graphs.Proc. IEEE Internat. Symp. on Circuits and Systems, pages 319–322, 1990.
W. T. Tutte. Convex representations of graphs.Proceedings London Mathematical Society, 10:304–320, 1960.
O. Tversky, S. Snibbe, and R. Zeleznik. Cone trees in the uga graphics system: Suggestions of a more robust visualization tool. Technical Report CS-93-07, Brown University, 1993.
J. Vaucher. Pretty printing of trees.Software-Practice and Experience, 10(7):553–561, 1980.
J. O. Walker II. A node-positioning algorithm for general trees.Software-Practice and Experience, 20(7):685–705, 1990.
C. Ware, D. Hui, and G. Franck. Visualizing object oriented software in three dimensions.CASCON 1993Proceedings, 1993.
C. Wetherell and A. Shannon. Tidy drawing of trees.IEEE Transactions on Software Engineering, 5(5):514–520, 1979.
N. Wirth.Systematic Programming: An Introduction. Prentice-Hall, Englewood Cliffs, NJ, 1973.
Author information
Authors and Affiliations
Additional information
Communicated by T. Nishizeki.
This work was performed as part of the Information Visualization Group(IVG) at the University of Newcastle. The IVG is supported in part by IBM Toronto Laboratory.
Rights and permissions
About this article
Cite this article
Cohen, R.F., Eades, P., Lin, T. et al. Three-dimensional graph drawing. Algorithmica 17, 199–208 (1997). https://doi.org/10.1007/BF02522826
Received:
Revised:
Issue Date:
DOI: https://doi.org/10.1007/BF02522826