Skip to main content

Upward Drawings of Trees on the Minimum Number of Layers

(Extended Abstract)

  • Conference paper
WALCOM: Algorithms and Computation (WALCOM 2008)

Part of the book series: Lecture Notes in Computer Science ((LNTCS,volume 4921))

Included in the following conference series:

Abstract

In a planar straight-line drawing of a tree T on k layers, each vertex is placed on one of k horizontal lines called layers and each edge is drawn as a straight-line segment. A planar straight-line drawing of a rooted tree T on k layers is called an upward drawing of T on k layers if, for each vertex u of T, no child of u is placed on a layer vertically above the layer on which u has been placed. For a tree T having pathwidth h, a linear-time algorithm is known that produces a planar straight-line drawing of T on ⌈3h/2⌉ layers. A necessary condition characterizing trees that admit planar straight-line drawings on k layers for a given value of k is also known. However, none of the known algorithms focuses on drawing a tree on the minimum number of layers. Moreover, although an upward drawing is the most useful visualization of a rooted tree, the known algorithms for drawing trees on k layers do not focus on upward drawings. In this paper, we give a linear-time algorithm to compute the minimum number of layers required for an upward drawing of a given rooted tree T. If T is not a rooted tree, then we can select a vertex u of T in linear time such that an upward drawing of T rooted at u would require the minimum number of layers among all other upward drawings of T rooted at the vertices other than u. We also give a linear-time algorithm to obtain an upward drawing of a rooted tree T on the minimum number of layers.

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

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

Preview

Unable to display preview. Download preview PDF.

Unable to display preview. Download preview PDF.

References

  1. Di Battista, G., Eades, P., Tamassia, R., Tollis, I.G.: Graph Drawing: Algorithms for the Visualization of Graphs. Prentice-Hall, Upper Saddle River, New Jersey (1999)

    MATH  Google Scholar 

  2. Cornelsen, S., Schank, T., Wagner, D.: Drawing graphs on two and three lines. JGAA 8(2), 161–177 (2004)

    MATH  MathSciNet  Google Scholar 

  3. Crescenzi, P., Di Battista, G., Piperno, A.: A note on optimal area algorithms for upward drawings of binary trees. CGTA 2, 187–200 (1992)

    MATH  Google Scholar 

  4. Dujmović, V., Fellows, M.R., Hallett, M.T., Kitching, M., Liotta, G., McCartin, C., Nishimura, N., Ragde, P., Rosamond, F.A., Suderman, M., Whitesides, S., Wood, D.R.: On the parameterized complexity of layered graph drawing. In: Meyer auf der Heide, F. (ed.) ESA 2001. LNCS, vol. 2161, pp. 488–499. Springer, Heidelberg (2001)

    Chapter  Google Scholar 

  5. Felsner, S., Liotta, G., Wismath, S.K.: Straight-line drawings on restricted integer grids in two and three dimensions. JGAA 7(4), 363–398 (2003)

    MATH  MathSciNet  Google Scholar 

  6. Garg, A., Goodrich, M.T., Tamassia, R.: Area-efficient upward tree drawings. In: Symposium on Computational Geometry, pp. 359–368 (1993)

    Google Scholar 

  7. Garg, A., Goodrich, M.T., Tamassia, R.: Planar upward tree drawings with optimal area. International Journal of Computational Geometry and Applications 6(3), 333–356 (1996)

    Article  MATH  MathSciNet  Google Scholar 

  8. Garg, A., Rusu, A.: Straight-line drawings of general trees with linear area and arbitrary aspect ratio. ICCSA (3), 876–885 (2003)

    MathSciNet  Google Scholar 

  9. Garg, A., Rusu, A.: Straight-line drawings of binary trees with linear area and arbitrary aspect ratio. JGAA 8(2), 135–160 (2004)

    MATH  MathSciNet  Google Scholar 

  10. Lengauer, T.: Combinatorial Algorithms for Integrated Circuit Layouts. Wiley, New York, USA (1990)

    Google Scholar 

  11. Shiloach, Y.: Arrangements of Planar Graphs on the Planar Lattice. PhD thesis, Weizmann Institute of Science (1976)

    Google Scholar 

  12. Shin, C.-S., Kim, S.K., Chwa, K.-Y.: Area-efficient algorithms for upward straight-line tree drawings. In: Cai, J.-Y., Wong, C.K. (eds.) COCOON 1996. LNCS, vol. 1090, pp. 106–116. Springer, Heidelberg (1996)

    Google Scholar 

  13. Suderman, M.: Pathwidth and layered drawing of trees. International Journal of Computational Geometry and Applications 14(3), 203–225 (2004)

    Article  MATH  MathSciNet  Google Scholar 

  14. Suderman, M.: Proper and planar drawings of graphs on three layers. In: Healy, P., Nikolov, N.S. (eds.) GD 2005. LNCS, vol. 3843, pp. 434–445. Springer, Heidelberg (2006)

    Chapter  Google Scholar 

  15. Warfield, J.N.: Crossing theory and hierarchy mapping. IEEE Transactions on Systems, Man, and Cybernetics 7, 502–523 (1977)

    MathSciNet  Google Scholar 

  16. Waterman, M.S., Griggs, J.R.: Interval graphs and maps of dna. Bulletin of Mathematical Biology 48, 189–195 (1986)

    MATH  MathSciNet  Google Scholar 

Download references

Author information

Authors and Affiliations

Authors

Editor information

Shin-ichi Nakano Md. Saidur Rahman

Rights and permissions

Reprints and permissions

Copyright information

© 2008 Springer-Verlag Berlin Heidelberg

About this paper

Cite this paper

Alam, M.J., Samee, M.A.H., Rabbi, M.M., Rahman, M.S. (2008). Upward Drawings of Trees on the Minimum Number of Layers. In: Nakano, Si., Rahman, M.S. (eds) WALCOM: Algorithms and Computation. WALCOM 2008. Lecture Notes in Computer Science, vol 4921. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-540-77891-2_9

Download citation

  • DOI: https://doi.org/10.1007/978-3-540-77891-2_9

  • Publisher Name: Springer, Berlin, Heidelberg

  • Print ISBN: 978-3-540-77890-5

  • Online ISBN: 978-3-540-77891-2

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics