Skip to main content

Nice drawings of graphs are computationally hard

  • Conference paper
  • First Online:

Part of the book series: Lecture Notes in Computer Science ((LNCS,volume 439))

Abstract

How to draw a graph? And more importantly, how to draw it nicely? As a formal approach to this problem we propose graph embeddings. A graph embedding is a mapping from a guest graph into a host graph. Graph embeddings are very rich in their descriptive capabilities. These should suffice to capture all instances from real applications in an appropriate way. Graph embeddings offer various parameters for optimizations, which are used to describe aestetics in a formal and uniform way. Thus, we measure the niceness of a drawing by the values of its aestetic parameters, such as area, width, expansion, maximal and total edge length, or non-planarity. However, in this general framework and from an algorithmic point of view optimal embeddings or equivalently nice drawings of graphs are intractable. In general, they are NP-complete, which means that one must pay for nice drawings with a high computational effort. This fact holds even for trees. To the contrary, there are drawings of trees which satisfy the upper and lower bounds up to some constant factor and are computable in polynomial time.

This is a preview of subscription content, log in via an institution.

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. N. Ahuja, "Efficient planar embedding of trees for VLSI layouts" Computer Vision, Graphics, and Image Processing 34 (1986), 189–203

    Google Scholar 

  2. B. Becker, G. Hotz, "On the optimal layout of planar graphs with fixed boundary" SIAM J. Comput. 5 (1987), 946–972

    Google Scholar 

  3. S.N. Bhatt, St. S. Cosmadakis, "The complexity of minimizing wire lengths in VLSI layouts" Inform. Proc. Letters 25 (1987), 263–267

    Google Scholar 

  4. S.N. Bhatt, F.T. Leighton, "A framework for solving VLSI graph layout problems" J. Comput. System Sci. 28 (1984), 300–343

    Google Scholar 

  5. N. Chiba, K. Onoguchi, T. Nishizeki, "Drawing plane graphs nicely" Acta Informatica 22 (1985), 187–201

    Google Scholar 

  6. H. De Freysseix, J. Pach, R. Pollack, "Small sets supporting Fáry embeddings of planar graphs", Proc. 20 ACM STOC (1988), 426–433

    Google Scholar 

  7. P. Eades, R. Tamassia, "Algorithms for Drawing Graphs: An Annotated Bibliography" University of Queensland, St. Lucia, Australia or University of Illinois, Urbana, Illinois, USA

    Google Scholar 

  8. C. Esposito, "Graph graphics: theory and practice", Comput. Math. Applic. 15 (1988), 247–253

    Google Scholar 

  9. S. Even, "Graph Algorithms", Computer Science Press, Maryland (1979)

    Google Scholar 

  10. I. Fary, "On straight lines representations of planar graphs" Acta Sci. Math. Szeged 11 (1948), 229–233

    Google Scholar 

  11. M.J. Fischer, M.S. Paterson, "Optimal tree layout", Proc. 12 ACM STOC (1980), 177–189

    Google Scholar 

  12. M.R. Garey, D.S. Johnson, "Computers and Intractability: a Guide to the Theory of NP-Completeness", Freeman and Company, San Francisco (1979)

    Google Scholar 

  13. M.R. Garey, D.S. Johnson, "Crossing number is NP-Complete" SIAM J. Alg. Disc. Meth. Vol. 4 (1983), 312–316

    Google Scholar 

  14. B. Grünbaum, "Convex Polytopes", Interscience Publishers (1967)

    Google Scholar 

  15. D. S. Johnson, "The NP-completeness column: An ongoing guide" J. Algorithms 3 (1982), 89–99

    Google Scholar 

  16. D. S. Johnson, "The NP-completeness column: An ongoing guide" J. Algorithms 5 (1984), 147–160.

    Google Scholar 

  17. M. R. Kramer, J. van Leeuwen, "The complexity of wire-routing and finding minimum area layouts for arbitrary VLSI circuits", Advances in Comput. Research 2 (1984), 129–146

    Google Scholar 

  18. C. E. Leiserson, "Area efficient VLSI Computation" MIT Press, Cambridge, Mass. 1983

    Google Scholar 

  19. F. S. Makedon, I. H. Sudborough, "Graph Layout Problems" Überblicke Informationsverarbeitung, B.I., Mannheim (1984), 145–183

    Google Scholar 

  20. E. Reingold, J. Tilford, "Tidier drawing of trees", IEEE Trans. Software Eng. SE-7 (1981), 223–228

    Google Scholar 

  21. N. Robertson, P.D. Seymour, "Graph minors II, algorithmic aspects of tree width" J. Algorithms 7 (1986), 309–322.

    Google Scholar 

  22. A. L. Rosenberg, "Data Encodings and their Costs", Acta Informatica 9 (1978), 273–292

    Google Scholar 

  23. R. Schuster, "Graphgrammatiken und Grapheinbettungen: Algorithmen und Komplexität" Dissertation, Universität Passau (1987), MIP 8711

    Google Scholar 

  24. J. A. Storer "On minimal-node-cost planar embeddings", Networks 14 (1984), 181–212

    Google Scholar 

  25. K. J. Supowit, E. M. Reingold, "The complexity of drawing trees nicely" Acta Informatica 18 (1983), 377–392

    Google Scholar 

  26. R. Tamassia, "On embedding a graph in the grid with the minimum number of bends" SIAM J. Comput. 16 (1987), 421–444

    Google Scholar 

  27. R. Tamassia, G. di Battista, C. Batini, "Automatic graph drawing and readability of diagrams" IEEE Trans. Systems, Man, and Cybernetics 18 (1988), 61–79

    Google Scholar 

  28. C. Thomassen, "Planarity and duality of finite and infinite graphs" J. Combinat. Theory B, 28–29 (1980), 244–271

    Google Scholar 

  29. W. T. Tutte, "How to draw a graph", Proc. London Math. Soc. 13 (1963), 321–341

    Google Scholar 

  30. J. D. Ullman, "Computational Aspects of VLSI" Comput. Science Press, Rockville, Md. (1984)

    Google Scholar 

  31. L. G. Valiant, "Universality considerations in VLSI circuits" IEEE Trans. on Computers C-30 (1981), 135–140

    Google Scholar 

  32. J. G. Vaucher, "Pretty-printing of trees" Software-Practice and Experience 10 (1980), 553–561

    Google Scholar 

  33. C. Wetherell, A. Shannon, "Tidy Drawings of Trees" IEEE Trans. Software Eng. SE-5 (1979), 514–520

    Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Peter Gorny Michael J. Tauber

Rights and permissions

Reprints and permissions

Copyright information

© 1990 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Brandenburg, F.J. (1990). Nice drawings of graphs are computationally hard. In: Gorny, P., Tauber, M.J. (eds) Visualization in Human-Computer Interaction. IPsy 1988. Lecture Notes in Computer Science, vol 439. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-52698-6_1

Download citation

  • DOI: https://doi.org/10.1007/3-540-52698-6_1

  • Published:

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-52698-8

  • Online ISBN: 978-3-540-47102-8

  • eBook Packages: Springer Book Archive

Publish with us

Policies and ethics