LR-Drawings of Ordered Rooted Binary Trees and Near-Linear Area Drawings of Outerplanar Graphs

In this paper we study a family of algorithms, introduced by Chan [SODA 1999] and called LR-algorithms, for drawing ordered rooted binary trees. In particular, we are interested in constructing LR-drawings (that are drawings obtained via LR-algorithms) with small width. Chan showed three different LR-algorithms that achieve, for an ordered rooted binary tree with $n$ nodes, width $O(n^{0.695})$, width $O(n^{0.5})$, and width $O(n^{0.48})$. We prove that, for every $n$-node ordered rooted binary tree, an LR-drawing with minimum width can be constructed in $O(n^{1.48})$ time. Further, we show an infinite family of $n$-node ordered rooted binary trees requiring $\Omega(n^{0.418})$ width in any LR-drawing; no lower bound better than $\Omega(\log n)$ was previously known. Finally, we present the results of an experimental evaluation that allowed us to determine the minimum width of all the ordered rooted binary trees with up to $451$ nodes. Our interest in LR-drawings is mainly motivated by a result of Di Battista and Frati [Algorithmica 2009], who proved that $n$-vertex outerplanar graphs have outerplanar straight-line drawings in $O(n^{1.48})$ area by means of a drawing algorithm which resembles an LR-algorithm. We deepen the connection between LR-drawings and outerplanar straight-line drawings by proving that, if $n$-node ordered rooted binary trees have LR-drawings with $f(n)$ width, for any function $f(n)$, then $n$-vertex outerplanar graphs have outerplanar straight-line drawings in $O(f(n))$ area. Finally, we exploit a structural decomposition for ordered rooted binary trees introduced by Chan in order to prove that every $n$-vertex outerplanar graph has an outerplanar straight-line drawing in $O(n\cdot 2^{\sqrt{2 \log_2 n}} \sqrt{\log n})$ area.

[1]  Giuseppe Di Battista,et al.  Small Area Drawings of Outerplanar Graphs , 2007, Algorithmica.

[2]  Ashim Garg,et al.  Area-efficient planar straight-line drawings of outerplanar graphs , 2007, Discret. Appl. Math..

[3]  Leslie G. Valiant,et al.  Universality considerations in VLSI circuits , 1981, IEEE Transactions on Computers.

[4]  Michael Kaufmann,et al.  Drawing graphs: methods and models , 2001 .

[5]  Donald E. Knuth,et al.  The Art of Computer Programming, Volume I: Fundamental Algorithms, 2nd Edition , 1997 .

[6]  Giuseppe Di Battista,et al.  A Note on Optimal Area Algorithms for Upward Drawings of Binary Trees , 1992, Comput. Geom..

[7]  Ashim Garg,et al.  Area-Efficient Order-Preserving Planar Straight-Line Drawings of Ordered Trees , 2003, Int. J. Comput. Geom. Appl..

[8]  Adrian Rusu,et al.  Tree Drawing Algorithms , 2013, Handbook of Graph Drawing and Visualization.

[9]  Timothy M. Chan A Near-Linear Area Bound for Drawing Binary Trees , 1999, SODA '99.

[10]  Fabrizio Frati Straight-line Drawings of Outerplanar Graphs in O(dn log n) Area , 2007, CCCG.

[11]  Md. Saidur Rahman,et al.  Planar Graph Drawing , 2004, Lecture Notes Series on Computing.

[12]  S. Stigler Gauss and the Invention of Least Squares , 1981 .

[13]  Therese C. Biedl,et al.  Small Drawings of Outerplanar Graphs, Series-Parallel Graphs, and Other Planar Graphs , 2011, Discret. Comput. Geom..

[14]  Timothy M. Chan,et al.  Optimizing area and aspect ration in straight-line orthogonal tree drawings , 1996, Comput. Geom..

[15]  Edward M. Reingold,et al.  Tidier Drawings of Trees , 1981, IEEE Transactions on Software Engineering.

[16]  N. J. A. Sloane,et al.  The On-Line Encyclopedia of Integer Sequences , 2003, Electron. J. Comb..

[17]  Erkki Mäkinen,et al.  Generating Random Binary Trees - A Survey , 1999, Inf. Sci..

[18]  Fabrizio Frati,et al.  Lower Bounds on the Area Requirements of Series-Parallel Graphs , 2010, Discret. Math. Theor. Comput. Sci..