Advertisement

Optimizing area and aspect ratio in straight-line orthogonal tree drawings

  • Timothy Chan
  • S. Rao Kosaraju
  • Michael T. Goodrich
  • Roberto Tamassia
Conference paper
Part of the Lecture Notes in Computer Science book series (LNCS, volume 1190)

Abstract

We investigate the problem of drawing an arbitrary n-node binary tree orthogonally in an integer grid using straight-line edges. We show that one can simultaneously achieve good area bounds while also allowing the aspect ratio to be chosen as being O(1) or sometimes even an arbitrary parameter. In addition, we show that one can also achieve an additional desirable aesthetic criterion, which we call “subtree separation.” We investigate both upward and non-upward drawings, achieving area bounds of O(n log n) and O(n log log n), respectively, and we show that, at least in the case of upward drawings, our area bound is optimal to within constant factors.

Keywords

Aspect Ratio Binary Tree Polygonal Chain Aesthetic Criterion Geometric Computing 
These keywords were added by machine and not by the authors. This process is experimental and the keywords may be updated as the learning algorithm improves.

References

  1. 1.
    R. P. Brent and H. T. Kung. On the area of binary tree layouts. Inform. Process. Lett., 11:521–534, 1980.CrossRefGoogle Scholar
  2. 2.
    P. Crescenzi, G. Di Battista, and A. Piperno. A note on optimal area algorithms for upward drawings of binary trees. Comput. Geom. Theory Appl., 2:187–200, 1992.MathSciNetGoogle Scholar
  3. 3.
    P. Crescenzi and A. Piperno. Optimal-area upward drawings of AVL trees. In R. Tamassia and I. G. Tollis, editors, Graph Drawing (Proc. GD '94), volume 894 of Lecture Notes in Computer Science, pages 307–317. Springer-Verlag, 1995.Google Scholar
  4. 4.
    G. Di Battista, P. Eades, R. Tamassia, and I. G. Tollis. Algorithms for drawing graphs: an annotated bibliography. Comput. Geom. Theory Appl., 4:235–282, 1994.Google Scholar
  5. 5.
    A. Garg, M. T. Goodrich, and R. Tamassia. Area-efficient upward tree drawings. In Proc. 9th Annu. ACM Sympos. Comput. Geom., pages 359–368, 1993.Google Scholar
  6. 6.
    C. E. Leiserson. Area-efficient graph layouts (for VLSI). In Proc. 21st Annu. IEEE Sympos. Found. Comput. Sci., pages 270–281, 1980.Google Scholar
  7. 7.
    C. E. Leiserson. Area-efficient graph layouts (for VLSI). ACM Doctoral Dissertation Award Series. MIT Press, Cambridge, MA, 1983.Google Scholar
  8. 8.
    E. Reingold and J. Tilford. Tidier drawing of trees. IEEE Trans. Softw. Eng., SE-7(2):223–228, 1981.Google Scholar
  9. 9.
    Y. Shiloach. Arrangements of Planar Graphs on the Planar Lattice. PhD thesis, Weizmann Institute of Science, 1976.Google Scholar
  10. 10.
    L. Trevisan. A note on minimum-area upward drawing of complete and Fibonacci trees. Information Processing Letters, 57(5):231–236, 1996.CrossRefGoogle Scholar
  11. 11.
    L. Valiant. Universality considerations in VLSI circuits. IEEE Trans. Comput., C-30(2):135–140, 1981.Google Scholar

Copyright information

© Springer-Verlag Berlin Heidelberg 1997

Authors and Affiliations

  • Timothy Chan
    • 1
  • S. Rao Kosaraju
  • Michael T. Goodrich
    • 1
  • Roberto Tamassia
    • 2
  1. 1.Center for Geometric Computing Dept. of Computer ScienceJohns Hopkins Univ.USA
  2. 2.Center for Geometric Computing Dept. of Computer ScienceBrown Univ.USA

Personalised recommendations