Abstract
Ordered trees are generally drawn using order-preserving planar straight-line grid drawings. We therefore investigate the arearequirements of such drawings, and present several results: Let T be an ordered tree with n nodes. Then:
-
T admits an order-preserving planar straight-line grid drawing with O(n log n) area.
-
If T is a binary tree, then T admits an order-preserving planar straight-line grid drawing with O(n log log n) area.
-
If T is a binary tree, then T admits an order-preserving upward planar straight-line grid drawing with optimal O(n log n) area.
We also study the problem of drawing binary trees with user-specified arbitrary aspect ratios. We show that an ordered binary tree T with n nodes admits an order-preserving planar straight-line grid drawing Γ with width O(A + log n), height O((n/A) logA), and area O((A + log n)(n/A) logA) = O(n log n), where 2 ≤ A ≤ n is any user-specified number. Also note that all the drawings mentioned above can be constructed in O(n) time.
Research supported by NSF CAREER Award IIS-9985136 and NSF CISE Research Infrastructure Award No. 0101244.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
T. Chan, M. Goodrich, S. R. Kosaraju, and R. Tamassia. Optimizing area and aspect ratio in straight-line orthogonal tree drawings. Comput. Geom. Theory Appl., 23:153–162, 2002.
T. M. Chan. A near-linear area bound for drawing binary trees. In Proc. 10th ACM-SIAM Symposium on Discrete Algorithms (SODA), pages 161–168, 1999.
A. Garg, M. T. Goodrich, and R. Tamassia. Planar upward tree drawings with optimal area. Internat. J. Comput. Geom. Appl., 6:333–356, 1996.
A. Garg and A. Rusu. Straight-line drawings of binary trees with linear area and arbitrary aspect ratio. In Graph Drawing (GD’02), volume 2528 of Lecture Notes in Computer Science, pages 320–331. Springer-Verlag, 2002.
A. Garg and A. Rusu. Area-efficient order-preserving planar straight-line drawings of ordered trees. Technical Report 2003-05, Department of Computer Science and Engineering, University at Buffalo, Buffalo, NY, 2003.
C.-S. Shin, S. Kim, S.-H. Kim, and K.-Y. Chwa. Area-efficient algorithms for straight-line tree drawings. Comput. Geom. Theory Appl., 15:175–202, 2000.
Author information
Authors and Affiliations
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2003 Springer-Verlag Berlin Heidelberg
About this paper
Cite this paper
Garg, A., Rusu, A. (2003). Area-Efficient Order-Preserving Planar Straight-Line Drawings of Ordered Trees. In: Warnow, T., Zhu, B. (eds) Computing and Combinatorics. COCOON 2003. Lecture Notes in Computer Science, vol 2697. Springer, Berlin, Heidelberg. https://doi.org/10.1007/3-540-45071-8_48
Download citation
DOI: https://doi.org/10.1007/3-540-45071-8_48
Published:
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-540-40534-4
Online ISBN: 978-3-540-45071-9
eBook Packages: Springer Book Archive