arXiv:2610.28030math.COOct 2026

Manuscript Offprint

arXiv:2610.28030

Logarithmic edge-length ratios for planar drawings of 2-trees

Zahra Sabaei, Yasmin Tousinejad, Fatemeh Emami

ZAHRA SABAEI, FATEMEH EMAMI, AND YASMIN TOUSINEJAD

ABSTRACT. For a planar graph GG with at least one edge, let ρ(G)\rho(G) be the infimum of the ratio of the longest to the shortest edge length over all planar straight-line drawings of GG. We prove that every nn-vertex 2-tree GG satisfies ρ(G)≤4+5[log⁡2(2n−3)]\rho(G) \leq 4 + 5[\log_2(2n - 3)]. This improves the known O(n)O(\sqrt{n}) upper bound and, together with the lower bound of Blažej, Fiala and Liotta, shows that the maximum of ρ(G)\rho(G) over nn-vertex 2-trees is Θ(log⁡n)\Theta(\log n). The proof adapts Biedl's recursive bar construction using nonintegral heights and applies a height-preserving straightening theorem.

1. INTRODUCTION

Relations between edge lengths in graph drawings have been studied since at least the late 1980s [2, 8], and controlling differences between these lengths is important both for the readability of planar straight-line drawings [7] and for applications such as unit disk graph approximation [6]. However, requiring all edges to have the same length leads to a difficult decision problem, as Eades and Wormald proved that deciding whether a biconnected planar graph admits such a drawing is NP-hard [8].

These considerations motivate the study of how small the ratio between the longest and shortest edge lengths can be for particular graph classes. Lazard, Lenhart and Liotta [9] studied this ratio for outerplanar graphs and asked whether it is bounded by a constant for 2-trees. For n-vertex 2-trees, Borrazzo and Frati [5] proved an O(n0.695)O(n^{0.695}) upper bound, whereas Blažej, Fiala and Liotta [4] established a lower bound of order log⁡n\log n, thereby showing that no constant bound is possible. More recently, Bekos et al. [1] improved the upper bound to O(n)O(\sqrt{n}) through their work on weakly leveled planar drawings and explicitly asked whether the remaining gap could be closed.

We close this gap by proving that every n-vertex 2-tree admits a planar straight-line drawing whose edge-length ratio is bounded by a constant times log⁡n\log n. The proof uses a recursive bar construction in which the heights of adjacent bars differ by at least one unit, while those of nonadjacent bars need not be separated by a fixed positive amount, allowing the total height to remain logarithmic. Applying a height-preserving straightening theorem and then compressing the horizontal coordinate gives the required drawings, since the vertical separation prevents short edges and the logarithmic total height controls the longest edge.

1.1. Notation and main results. All graphs in this paper are finite and simple. For a graph GG, let V(G)V(G) and E(G)E(G) denote its vertex set and edge set, respectively, and let n:=∣V(G)∣n := |V(G)|. Let N(v)N(v) denote the set of neighbors of a vertex vv in the graph under consideration. A 2-tree is obtained from a single edge by repeatedly adding a new vertex whose only neighbors are the two endpoints of an existing edge. Thus, for a 2-tree

(1)

∣E(G)∣=1+2(n−2)=2n−3.|E(G)|=1+2(n-2)=2n-3.

A planar straight-line drawing assigns distinct points of R2R^{2} to the vertices and represents each edge by the segment between its endpoints. No edge contains a nonincident vertex, and two edges intersect only at a common endpoint. We allow arbitrary real coordinates and do not fix a planar embedding in advance.

Let GG be a planar graph with at least one edge. For a planar straight-line drawing DD of GG and an edge e∈E(G)e \in E(G), let ∣e∣D|e|_{D} denote the Euclidean length of ee. The edge-length ratio of DD

Z. SABAEI, F. EMAMI, AND Y. TOUSINEJAD

and the planar edge-length ratio of G are, respectively,

(2)

r(D):=max⁡{∣e∣D:e∈E(G)}min⁡{∣e∣D:e∈E(G)},ρ(G):=inf⁡Dr(D),r(D):=\frac{\max\{|e|_{D}:e\in E(G)\}}{\min\{|e|_{D}:e\in E(G)\}},\qquad\rho(G):=\inf_{D}r(D),

where the infimum ranges over all planar straight-line drawings of GG. Using an infimum avoids requiring a drawing with ratio ρ(G)\rho(G). For n≥2n \geq 2, let R2(n)R_2(n) denote the maximum planar edge-length ratio among all nn-vertex 2-trees:

(3)

R2(n):=max⁡{ρ(G):Gisa2−treewithnvertices}.R_{2}(n):=\max\{\rho(G):G is a 2-tree with n vertices\}.

There are finitely many such graphs up to isomorphism, so the maximum in (3) exists.

Theorem 1.1. For every 2-tree G with n≥2n \geq 2 vertices,

(4)

ρ(G)≤4+5⌊log⁡2(2n−3)⌋.\rho(G)\leq4+5\left\lfloor\log_{2}(2n-3)\right\rfloor.

More precisely, for every δ>0\delta > 0, there is a planar straight-line drawing of GG whose edge-length ratio is less than 4+5⌊log⁡2(2n−3)⌋+δ4 + 5\lfloor \log_2(2n - 3) \rfloor + \delta.

The lower bound of Blažej, Fiala and Liotta [4], together with theorem 1.1, gives the following consequence. A short deduction of the explicit lower bound is included in section 4.

Corollary 1.2. For every integer n≥3n \geq 3,

(5)

⌊16log⁡10(3n−45)⌋≤R2(n)≤4+5⌊log⁡2(2n−3)⌋.\left\lfloor\frac{1}{6}\log_{10}\left(\frac{3n-4}{5}\right)\right\rfloor\leq R_{2}(n)\leq4+5\left\lfloor\log_{2}(2n-3)\right\rfloor.

Consequently, R2(n)=Θ(log⁡n)R_{2}(n) = \Theta(\log n).

The lower estimate in (5) concerns the largest ratio among graphs of a given order; it is not a lower bound for every 2-tree. The coefficient 5 in (4) comes from the construction, and no claim is made that it is optimal.

1.2. Proof overview. Biedl [3, Section 3] develops recursive bar constructions for small drawings of series-parallel graphs. Our proof uses her arrangement of series and parallel components, including the reversed order of the smaller components in the series step. The change is in the choice of heights and the conditions at the two terminal bars. We use only vertical edge segments and allow nonintegral bar heights. In each height recurrence, the contribution of a largest component has no additive term. Every component whose contribution has an additive term contains at most half the edges of the component being constructed. Several nonadjacent bars can then be placed at distinct rational heights within one unit of vertical space.

In section 2, the height-preserving straightening theorem of Pach and Tóth [10] reduces the problem to constructing bars of bounded total height with at least unit separation along every edge. We give this construction and prove theorem 1.1 in section 3. In section 4, we deduce theorem 1.2, extend the upper bound to graphs with treewidth at most 2, and explain the role of nonintegral heights.