Upward Tree Drawings with Optimal
نویسندگان
چکیده
Rooted trees are usually drawn planar and upward, i.e., without crossings and without any parent placed below its child. In this paper we investigate the area requirement of planar upward drawings of rooted trees. We give tight upper and lower bounds on the area of various types of drawings, and provide linear-time algorithms for constructing optimal area drawings. Let T be a bounded-degree rooted tree with N nodes. Our results are summarized as follows: We show that T admits a planar polyline upward grid drawing with area O(N), and with width O(N) for any prespeciied constant such that 0 < < 1. If T is a binary tree, we show that T admits a planar orthogonal upward grid drawing with area O(N loglog N). We show that if T is ordered, it admits an O(N logN)-area planar upward grid drawing that preserves the left-to-right ordering of the children of each node. We show that all of the above area bounds are asymptotically optimal in the worst case. We present O(N)-time algorithms for constructing each of the above types of drawings of T with asymptotically optimal area. We report on the experimentation of our algorithm for constructing planar poly-line upward grid drawings, performed on trees with up to 24 million nodes.
منابع مشابه
Area-eecient Upward Tree Drawings
Rooted trees are usually drawn planar and upward , i.e., without crossings and with parents placed above their children. In this paper we investigate the area requirement of planar upward drawings of trees, and present optimal algorithms for constructing such drawings.
متن کاملPlanar upward tree drawings with optimal area
Rooted trees are usually drawn planar and upward i e without crossings and with out any parent placed below its child In this paper we investigate the area requirement of planar upward drawings of rooted trees We give tight upper and lower bounds on the area of various types of drawings and provide linear time algorithms for constructing optimal area drawings Let T be a bounded degree rooted tr...
متن کاملOptimum-width upward order-preserving poly-line drawings of trees
An upward drawing of a tree is a drawing such that no parents are below their children. It is order-preserving if the edges to children appear in prescribed order around each vertex. Chan showed that any tree has an upward order-preserving drawing with width O(logn). In this paper, we consider upward order-preserving drawings where edges are allowed to have bends. We present a linear-time algor...
متن کاملA Note on Optimal Area Algorithms for Upward Drawings of Binary Trees
Crescenzi, P., G. Di Battista and A. Piperno, A note on optimal area algorithms for upward drawings of binary trees, Computational Geometry: Theory and Applications 2 (1992) 187-200. The goal of this paper is to investigate the area requirements for upward grid drawings of binary trees. First, we show that there is a family of binary trees with n vertices that require Q(n logn) area; this bound...
متن کاملOptimizing Area and Aspect Ratio in Straight-Line Orthogonal Tree Drawings
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 ...
متن کامل