English

Simple Compact Monotone Tree Drawings

Data Structures and Algorithms 2025-05-19 v4 Computational Geometry Discrete Mathematics

Abstract

A monotone drawing of a graph G is a straight-line drawing of G such that every pair of vertices is connected by a path that is monotone with respect to some direction. Trees, as a special class of graphs, have been the focus of several papers and, recently, He and He~\cite{mt:4} showed how to produce a monotone drawing of an arbitrary nn-vertex tree that is contained in a 12n×12n12n \times 12n grid. All monotone tree drawing algorithms that have appeared in the literature consider rooted ordered trees and they draw them so that (i) the root of the tree is drawn at the origin of the drawing, (ii) the drawing is confined in the first quadrant, and (iii) the ordering/embedding of the tree is respected. In this paper, we provide a simple algorithm that has the exact same characteristics and, given an nn-vertex rooted tree TT, it outputs a monotone drawing of TT that fits on a n×nn \times n grid. For unrooted ordered trees, we present an algorithms that produces monotone drawings that respect the ordering and fit in an (n+1)×(n2+1)(n+1) \times (\frac{n}{2} +1) grid, while, for unrooted non-ordered trees we produce monotone drawings of good aspect ratio which fit on a grid of size at most 34(n+2)×34(n+2)\left\lfloor \frac{3}{4} \left(n+2\right)\right\rfloor \times \left\lfloor \frac{3}{4} \left(n+2\right)\right\rfloor.

Keywords

Cite

@article{arxiv.1708.09653,
  title  = {Simple Compact Monotone Tree Drawings},
  author = {Anargyros Oikonomou and Antonios Symvonis},
  journal= {arXiv preprint arXiv:1708.09653},
  year   = {2025}
}

Comments

A preliminary version of this paper which included the one-quadrant algorithm for monotone tree drawings was presented in the 25th International Symposium on Graph Drawing and Network Visualization, GD 2017

R2 v1 2026-06-22T21:29:00.617Z