Internally-Convex Drawings of
Outerplanar Graphs in Small Area
Abstract
A well-known result by Kant [Algorithmica, 1996] implies that -vertex outerplane graphs admit embedding-preserving planar straight-line grid drawings where the internal faces are convex polygons in area. In this paper, we present an algorithm to compute such drawings in area. We also consider outerplanar drawings in which the internal faces are required to be strictly-convex polygons. In this setting, we consider outerplanar graphs whose weak dual is a path and give a drawing algorithm that achieves area, where is the maximum size of an internal facial cycle.
Keywords and phrases:
Grid drawings, convexity, area bounds, outerplanar graphsCopyright and License:
2012 ACM Subject Classification:
Theory of computation Design and analysis of algorithms ; Mathematics of computing Graph theoryFunding:
Bekos and Symvonis were supported by HFRI Grant No: 26320. Da Lozzo and Frati were supported by the European Union, Next Generation EU, Mission 4, Component 1, CUP J53D23007130006 PRIN proj. 2022ME9Z78 “NextGRAAL: Next-generation algorithms for constrained GRAph visuALization”. Liotta was supported by MUR PON Proj. ARS01 00540 and by MUR PRIN Project no. 2022TS4Y3N.Editors:
Vida Dujmović and Fabrizio MontecchianiSeries and Publisher:
Leibniz International Proceedings in Informatics, Schloss Dagstuhl – Leibniz-Zentrum für Informatik
1 Introduction
Drawing outerplanar graphs in small area is a core topic in Graph Drawing which has been the subject of intense work. The first one we are aware of dates back to 1980, when Leiserson provided an algorithm for the construction of linear-area VLSI layouts of bounded-degree outerplanar graphs [19]. In the early 90’s, de Fraysseix, Pach, and Pollack [10] and Schnyder [20] proved that -vertex planar graphs, and thus -vertex outerplanar graphs, admit -area planar straight-line grid drawings. This bound is the best possible for planar graphs, however whether a subquadratic area upper bound can be achieved for outerplanar graphs has been an intriguing question asked repeatedly (see, e.g., [5, 7, 14, 17]). A positive answer was first provided by Di Battista and Frati [12]. They presented an algorithm which, given an -vertex maximal outerplanar graph with weak dual tree , uses a structural decomposition of binary trees by Chan [8] in order to construct an area “star-shaped” drawing of ; this is a planar straight-line grid drawing which can be augmented to an outerplanar straight-line drawing of within the same area bound. The same strategy has later led to an almost-linear area bound, namely [16], and also to an bound for outerplanar graphs of maximum degree [15].
In this paper we study the area requirements of convex drawings of outerplanar graphs, in which the boundary of every face (including the outer face) is a convex polygon. It was surprising to us that this question has not been studied before, considering the prominent place that convex drawings occupy in the graph drawing literature. We only mention here the result on convex drawings that is most relevant to our paper. Namely, Chrobak and Kant [9, 18] and, independently, Felsner [13] have presented extensions of the algorithms by de Fraysseix, Pach, and Pollack [10] and Schnyder [20], proving that every -connected planar graph admits a convex drawing in quadratic area, which is asymptotically optimal. Specifically, Felsner’s upper bound is , where denotes the number of faces.
Strictly-convex drawings, in which no three vertices on the boundary of a face are allowed to be collinear, require larger area. Indeed, an -vertex cycle cannot be drawn as a strictly-convex polygon on a grid of size [1]. This bound is not yet matched by a corresponding upper bound. Bárány and Rote [2] proved that -vertex -connected planar graphs admit strictly-convex grid drawings in area. Bekos, Gronemann, Montecchiani, and Symvonis [4] provided an alternative algorithm with the same asymptotic area bound but with significantly smaller hidden constants.
The construction of small-area convex grid drawings of outerplanar graphs encounters two natural barriers. First, a planar graph admits a convex drawing only if it is biconnected, hence one is required to consider biconnected outerplanar graphs only. Second, we observe that there exist -vertex biconnected outerplanar graphs that require area in any convex grid drawing (Section 2); note that an upper bound for (even strictly-)convex drawings of -vertex biconnected outerplanar graphs can be achieved by drawing the cycle delimiting the outer face as a strictly-convex polygon [1] and drawing the internal edges as chords. We thus relax the convexity requirement and require only the internal faces to be convex, that is, we consider internally-convex drawings. For outerplanar graphs, this is a natural variation of the convex drawing style, taking into account that the outer face of an outerplanar graph is special: All the vertices are incident to it and this property defines the graph class. Chrobak and Kant’s algorithms [9, 18] allow us to obtain internally-convex drawings of -vertex outerplanar graphs on a grid of size (via a suitable augmentation of the input graph to a 3-connected planar graph, by adding vertices and edges in its outer face). This restores in the internally-convex setting the pursuit for a sub-quadratic area upper bound for grid drawings of outerplanar graphs. We also consider the, in our opinion equally interesting, question of determining the area requirements of internally-strictly-convex drawings of outerplanar graphs.
Our contributions.
Our main result is an algorithm that constructs an internally-convex grid drawing with area for -vertex outerplanar graphs (Section 3). We employ some ideas and tools from a recent paper [6]. The main geometric component of our algorithm consists of constructing a “leveled” drawing, where consecutive levels are drawn on consecutive horizontal grid lines, up to a level where there are sufficiently few vertices so that the drawing can “make a turn” and extend horizontally rather than vertically. We remark that ours is the first algorithm that constructs outerplanar straight-line grid drawings in sub-quadratic area by drawing directly the outerplanar graph, without passing through a star-shaped drawing of its weak dual tree. This aspect might be of independent interest.
For internally-strictly-convex grid drawings, the same arguments as in the strictly-convex setting prove that is a tight bound for the area requirements. However, the natural question to consider here is how the area relates not only to the number of vertices but also to the maximum size of an internal face. We show that there exist outerplanar graphs requiring area in any internally-strictly-convex grid drawing and that the lower bound can be matched by a corresponding upper bound for outerpaths, that is, biconnected outerplanar graphs whose weak dual is a path (Section 4).
2 Preliminaries
We assume familiarity with Graph Drawing, see, e.g. [11].
A drawing of a graph maps each vertex to a distinct point in the plane and each edge to a Jordan arc between its endpoints. In a grid drawing vertices have integer coordinates. Let be a grid drawing of a graph. Let and be the maximum and minimum -coordinate of a vertex in , with , respectively. The height and width of are the positive integers and , respectively. In other words, and represent the number of horizontal and vertical grid lines intersecting the smallest axis-parallel rectangle enclosing , respectively. The area of a drawing is the product of its width and height.
A drawing is planar if no two edges intersect, except at a common end-point. In a planar drawing, a vertex or an edge is external if it is incident to the outer face, and internal otherwise. A graph is planar if it admits a planar drawing. A graph is outerplanar if it admits a planar drawing in which each vertex is external. A planar drawing partitions the plane into topologically connected regions called faces. The unbounded face is the outer face, whereas the bounded faces are the internal faces. Two planar drawings of a connected graph are equivalent if they induce (i) the same counter-clockwise order of the edges incident to each vertex and (ii) the same counter-clockwise order of the edges along the boundaries of their outer faces. The equivalence classes of equivalent outerplanar drawings are called outerplanar embeddings, or in this paper just embeddings. An outerplane graph is a planar graph equipped with an outerplanar embedding. A biconnected outerplanar graph has a unique outerplanar embedding (up to an inversion of all the orders defining the embedding), hence we often talk about faces of a biconnected outerplane graph, referring to faces of its unique outerplanar embedding. Also, a drawing of a graph is embedding-preserving if it respects an embedding associated to the graph.
In a straight-line drawing, edges are drawn as straight-line segments. In a planar straight-line drawing, a face is convex (strictly-convex) if it is delimited by a polygon whose internal angles are not larger than (resp. are smaller than ). A convex drawing (a strictly-convex drawing) is a straight-line planar drawing in which every face, including the outer face, is convex (resp., strictly-convex). An internally-convex drawing (an internally-strictly-convex drawing) is a straight-line planar drawing in which every internal face, but not necessarily the outer face, is convex (resp., strictly-convex). When dealing with outerplanar graphs, we do not require convex drawings to be outerplanar per se. Our results however hold in the strongest possible sense: The lower bounds on the area hold true even for drawings that are not outerplanar, while the upper bounds are proved by constructing outerplanar drawings.
The following theorem motivates the study of internally-convex drawings.
Theorem 1.
There exists an -vertex biconnected outerplanar graph that requires area in every convex grid drawing.
Proof.
Let be the -vertex biconnected outerplanar graph obtained from a cycle with vertices by attaching a degree- vertex incident to the end-vertices of each edge of . First, every convex drawing of respects the unique outerplanar embedding of , as moving a degree- vertex inside would create an angle larger than in an internal face at that vertex. Second, in every outerplanar convex drawing of , the drawing of is strictly-convex, as the angle at each vertex of in the interior of the cycle delimiting the outer face of is at most and part of this angle is used by the two triangular faces incident to . Since every strictly-convex drawing of a cycle requires cubic area [1], the lower bound follows.
Let be a biconnected outerplane graph with vertices; refer to Fig.˜1. Note that has at least one internal face. The weak dual of , denoted by , is the tree having a vertex for each internal face of and an edge between any two vertices corresponding to internal faces sharing an edge. For simplicity, we use the same label to denote a vertex of and the corresponding face of . If is a path, then is an outerpath. Let be an external edge of such that immediately precedes in counter-clockwise order along the outer face of . The outerplane graph with the designated edge , denoted by , is said to be rooted at . Let be an internal edge of such that appear in this counter-clockwise order along the outer face of (possibly or may hold). Consider the outerplane subgraph of induced by the vertices , , and the vertices that are encountered when traversing the outer face of in counter-clockwise direction from to . Observe that the edge is an external edge of such that immediately precedes in counter-clockwise order along the outer face of . Then we denote by the outerplanar graph rooted at the edge .
Let be rooted at and let be the internal face of incident to . The extended weak dual tree of is the tree with root obtained from the weak-dual tree of by inserting a new leaf for each external edge of different from and an edge if is the internal face of incident to . Let be the number of vertices of . Note that , as contains the root plus one leaf for each of the external edges of different from . Also, , since has external edges different from and at most internal faces. Let be a root-to-leaf path in . We denote by the outerpath induced by the vertices incident to the faces . We call the outerpath dual to . Denote by the edge of dual to . Let be the counter-clockwise order of the vertices along the outer face of , where . We call the rooted outerplanar graphs left subgraphs of at and the rooted outerplanar graphs right subgraphs of at .
3 Internally-Convex Drawings
In this section we prove the following theorem, which is our main result.
Theorem 2.
Every -vertex outerplane graph admits an embedding-preserving internally-convex grid drawing in area.
Our proof is inspired by the proof that every outer-1-plane graph admits an embedding-preserving visibility representation in area [6]. In particular, we are going to use the following theorem, which generalizes a well-known result by Chan [8].
Theorem 3 ([6, Theorem 1]).
Let . Given any rooted tree with vertices, there exists a root-to-leaf path such that for any left subtree and for any right subtree of , , for some constant .
The following lemma is similar to the combination of Definition 1 and Observation 3 from [6], although with different constants. Recall that and are the constants from Theorem 3. We define the constant as .
Lemma 4 ().
Let be the recursive function defined on as follows. First, and . Second, for with , we have that
Then .
Let be an -vertex outerplane graph; refer to Fig.˜2. In what follows, we assume to be biconnected. Indeed, if it is not, it can be augmented to a biconnected outerplane graph by introducing edges in its outer face. Then the restriction of an embedding-preserving internally-convex drawing of yields an embedding-preserving internally-convex drawing of that inherits the area bounds of . Let and be any two vertices such that immediately precedes in counter-clockwise order along the outer face of . We root at the edge . Recall that denotes the outerplanar graph rooted at the edge .
We show that admits a (small-area) -separated drawing. This is an embedding-preserving internally-convex grid drawing of satisfying the following properties:
-
P.1
and lie on a horizontal line ;
-
P.2
all neighbors of and lie on the horizontal line one unit below ;
-
P.3
all the other vertices of lie not above ; and
-
P.4
all vertices different from (from ) are to the right of (resp. to the left of ).
The following property is a direct consequence of the definition of -separated drawing.
Property 1.
Let be a -separated drawing of . Vertices and can be shifted arbitrarily by integer amounts to the left and right, respectively, while maintaining an outerplanar internally-convex grid drawing.
If , then let be the extended weak dual tree of and let be the number of vertices of . If , then is not defined and we set . This choice is justified by the size of the subtrees of we generate. Indeed, if , we will select a root-to-leaf path in and consider left and right subgraphs of at . If any of such subgraphs is just an edge, it is associated with a subtree of which consists of a single vertex, from which the correspondence between and stems.
We show an algorithm that, by induction on , constructs a -separated drawing of satisfying the following two properties:
-
Property W: every vertical grid line intersecting contains at least one vertex of (and thus the width of is at most ); and
-
Property H: every horizontal grid line intersecting contains at least one vertex of and the height of is at most .
The statement implies Theorem 2, given that by Lemma 4 and since .
Denote by the maximum value of , over all drawings constructed by our algorithm for rooted outerplane graphs whose extended weak dual has vertices.
In the base case, we have (and thus ). Hence, is the edge and a drawing satisfying Properties W and H is constructed by placing on a grid point one unit to the left of . In particular, note that and that .
In the inductive case, we have , hence has internal faces, since it is biconnected. Let be the root of , which is the internal face of incident to . Let be the root-to-leaf path in from Theorem 3, where is the edge of dual to .
We introduce some notation and definitions. Call a transition edge; let , let the path coincide with , and let the rooted outerplane graph coincide with . Suppose that, for some , a transition edge has been defined that is part of a path . Consider the set of vertices that do not belong to and that belong to the faces of incident to the end-vertices of ; these vertices induce a path , where the labels of the vertices are such that appear in this counter-clockwise order along the outer face of . See again Fig.˜2, where, for example, is the path induced by the vertices that do not belong to (roughly speaking, by the vertices that are on the “correct side” of ) and that belong to the faces of incident to the end-vertices of (only one of such faces is incident to both the end-vertices of , the other ones are incident to a single end-vertex of ). Only one of the edges of might be dual to an edge of ; this edge of is the transition edge with end-vertices and , for some . The set comprises the vertices of , as well as the vertices of the subgraphs of , for with . Observe that, for , the graph is a left subgraph of at or a proper subgraph of a left subgraph of at . Similarly, for , the graph is a right subgraph of at or a proper subgraph of a right subgraph of at . We denote by the graph . For the last-defined path , we have that either the transition edge does not exist or, if it does, it is the edge , which is incident to the outer face of and thus coincides with the edge . An example of a situation in which does not exist is the one in which is a single vertex. This happens if , the second-to-last vertex of , is a triangular face delimited by the end-vertices of and by one additional vertex, which coincides with . In this case , the edge of dual to the last edge of , connects a vertex of with the unique vertex of and does not exist.
Ideally, we would like the -separated drawing we construct to have the following features. The vertices of each path should appear on a common horizontal line in this left-to-right order, and should lie one unit above . The subgraphs with should be recursively drawn and placed below , except for the edge which lies on , in such a way that any two of these subgraphs are horizontally disjoint, that is, there exists a vertical line that keeps the drawings of the two subgraphs on different sides, except, possibly, for a single vertex shared by the two subgraphs which lies on the line. The subgraph is not drawn recursively, as it coincides with the subgraph on which the level-by-level construction we are describing is further applied. Recall that is the index of the path defined last in the procedure discussed above. If (Case 1), this plan can be accomplished. Otherwise (Case 2), by a simple vertex counting argument, there exists an index such that the set has at most vertices. In this case, we draw the vertices in differently than before, so that the transition edge is vertical. The small size of allows us to “turn” from horizontal to vertical without increasing the height dramatically. From towards the end of , the construction proceeds by drawing the vertices of the outerpath dual to on two horizontal lines, and by placing the recursively-constructed drawings of the right and left subgraphs of at above and below it, respectively.
We now formalize this argument. As sketched above, we distinguish two cases. In Case 1, we have ; refer to Fig.˜3. For and for with , we recursively construct a -separated drawing of . We construct, for , a -separated drawing of as described in the following. Notice that the order of the indices ensures that, if exists, then its drawing has been already constructed once is about to be constructed. In order to start the iteration, if does not exist, then does not exist either, and hence does not need to be defined. If exists, then coincides with such an edge and is constructed by placing on a grid point one unit to the left of . In order to construct , we place the recursively constructed drawings with with , as well as the drawing (if exists), side by side, so that the placement of a vertex coincides in two drawings it belongs to; these are and if is neither nor , or are and if is , or are and if is . This ensures that the vertices of all lie on the same horizontal line . Further, we place one unit above and one unit to the left of the leftmost vertex of , and one unit above and one unit to the right of the rightmost vertex of . This results in the desired -separated drawing of . When , the resulting drawing is a -separated drawing of , as established by the following lemma.
Lemma 5 ().
In Case 1, the constructed drawing is a -separated drawing of satisfying Properties W and H.
We now describe the construction of Case 2. Recall that, in this case, we have We start the description with the following simple combinatorial lemma.
Lemma 6.
There exists an index with such that .
Proof.
Since the sets are disjoint and since there are of them, the smallest among them contains at most vertices.
The construction for Case 2 proceeds in three steps. In Step 1, we construct a drawing of ; in Step 2, we augment to a drawing of ; finally, in Step 3, we augment to the desired drawing of .
Step 1.
We construct a drawing of ; refer to Fig.˜4. Recall that the transition edge has end-vertices and and that is the graph . Let be the edge of dual to , let be the subpath of , and let be the counter-clockwise order of the vertices along the outer face of , where is the edge . We initialize by drawing as a vertical segment of height . For , we recursively construct a drawing of . We place the drawings side by side, so that the placement of a vertex coincides in the drawings and where it appears, for , and so that the placement of coincides in and in the drawing of . Analogously, for , we recursively construct a drawing of . Unlike for , we rotate the drawings by , and place them side by side, so that the placement of a vertex coincides in and , for , and so that the placement of coincides in and in the drawing of . This completes the construction of .
Step 2.
We now augment to a drawing of ; refer to Fig.˜5. Recall that the path has vertices . For with , we recursively construct a -separated drawing of . We place the recursively constructed drawings side by side, so that the placement of a vertex coincides in and , for , and so that the placement of coincides in and in . Next, we rotate the drawings in counter-clockwise direction by , and we stack them one on top of the other, so that the placement of a vertex coincides in and , for , and so that the placement of in is on the same vertical line as in and on the same horizontal line as the highest vertex in (refer to the left side of Fig.˜6).
This might provide a double placement for (unless is the highest vertex in ). The issue is resolved by keeping for the position it has in ; note that, in , this amounts to shifting downwards (refer to the right side of Fig.˜6). The drawing of is completed by placing and on the same horizontal line, one unit higher than the highest vertex in so far (this is either if or the highest vertex in otherwise), so that is one unit to the left of the vertical line through and is one unit to the left of the leftmost vertex in so far (this is either if or otherwise).
Step 3.
Finally, we show how to augment to a -separated drawing of . This is done similarly to Case 1. Namely, we construct, for , a -separated drawing of from an already constructed -separated drawing of . Recall that, in Step 2, we constructed . As in Case 1, we place the recursively constructed drawings with with , as well as the drawing , side by side, so that the placement of a vertex coincides in two drawings it belongs to, with one exception in the case ; refer to Fig.˜7. Namely, the drawing of is embedded so that is on the same horizontal line as in and on the same vertical line as the rightmost vertex in . This provides a double placement for . The issue is resolved by keeping for the position it has in ; note that, in , this amounts to shifting leftwards. The desired -separated drawing of is completed by placing one unit above and one unit to the left of the leftmost vertex of , and one unit above and one unit to the right of the rightmost vertex of . When , the obtained drawing is a -separated drawing of , as proved in the following.
Lemma 7 ().
In Case 2, the constructed drawing is a -separated drawing of satisfying Property W and H.
Sketch..
First, it trivially comes from the construction that is a straight-line grid drawing.
Most of the arguments used to prove that is planar and satisfies Properties P.1, P.2, P.3, and P.4 of a -separated drawing are easy geometric considerations. For example, each graph does not cross any graph , as it is horizontally disjoint from it, does not cross any subgraph as it is vertically disjoint from it, and does not cross as it is vertically disjoint from it, except for the edge which is shared by the two graphs. The most interesting part in the proof of the planarity of consists of showing that the drawings and do not cross each other. This proof uses the fact that satisfies the properties of a -separated drawing. In fact, the avoidance of crossings between and is the driving force behind the definition of our drawing invariant. Namely, by Property P.4 and by the counter-clockwise rotation of , we have that is the lowest vertex in . Since is on the same horizontal line as the highest vertex in , the only edges of that might cross in are those incident to . However, since all the vertices of different from lie above and all the neighbors of in lie on the vertical line one unit to the right of , by Property P.2 and by the rotation of , it follows that the edges of incident to lie above every edge of with which they have a horizontal overlap. Note that, by Property 1, placing at the point where it is placed in maintains the planarity of .
The convexity of each internal face of in follows by induction if is internal to some recursively drawn subgraph of . If is an internal face of or has vertices on two distinct paths among , then is drawn as a triangle or a trapezoid in , hence it is convex. The only faces that do not fit in any of these two categories are those incident to and/or and incident to at least one vertex in . The convexity of these faces follows from two facts. First, the polygon delimited by the edge and by the path is a convex pentagon (if ) or a convex quadrilateral (if ). Second, the faces incident to and/or and incident to at least one vertex in form a convex subdivision of .
Property W follows by induction and since every vertical grid line intersecting intersects a recursively constructed drawing or a vertex directly placed by the algorithm.
Concerning Property H, we prove that is at most , plus , plus the maximum height of a recursively constructed drawing of a subgraph of a left subgraph of at , plus the maximum height of a recursively constructed drawing of a subgraph of a right subgraph of at . The first term accounts for the horizontal grid lines on which are placed. The term accounts for the horizontal grid lines between the highest line intersecting (which is one unit below ) and the lowest line intersecting before is moved to the position it has in . Indeed, since the drawings are constructed recursively, and hence satisfy Property W, and are rotated by , and since the graphs have a total of at most vertices, by Lemma 6, it follows that the drawings intersect, before moving , at most grid lines. The third and fourth terms in the upper bound for account for the total height of the recursively drawn subgraphs different from . The key observation here is that, apart for the drawings of , which are already accounted for, any two recursively constructed drawings which are stacked one on top of the other are drawings of subgraphs of a left subgraph of at and of a right subgraph of at (and not of two left subgraphs or of two right subgraphs); in fact, only the right subgraphs of at are forced to be stacked on top of the left subgraphs of at (and on top of the graphs with which are also subgraphs of left subgraphs of at ).
Note that by construction and hence , given that . Assume that and are indices such that is a recursively drawn subgraph of a left subgraph of at and is maximum. Indices and are defined analogously for the right subgraphs of at . Let and be the number of vertices in the extended weak dual trees of and , respectively. By the upper bound proved above, we have and thus, by induction, . By Theorem 3, it holds true that . By the definition of in Lemma 4 (with and ), we have that , hence , which proves Property H.
4 Internally-Strictly-Convex Drawings of Outerpaths
In this section, we prove a tight bound on the area required by internally-strictly-convex grid drawings of outerpaths. More precisely, we prove that every -vertex outerpath whose internal faces have size at most admits an internally-strictly-convex grid drawing in area , which we also show to match a general lower bound for the internally-strictly-convex grid drawings of outerplanar graphs. We start by proving the lower bound.
Theorem 8.
Every -vertex outerplane graph with internal faces of size requires area in any internally-strictly-convex grid drawing.
Proof.
Let be an -vertex outerplane graph with internal faces of size . First, note that any internally-strictly-convex grid drawing of must be outerplanar. Indeed, any embedding of an outerplanar graph which is not an outerplanar embedding contains a degree- vertex as an internal vertex. However, such a vertex would create an angle larger than or equal to in an internal face. The area lower bound is obtained by a simple packing argument. Since any internally-strictly-convex grid drawing of is outerplanar, it contains internal faces of size . Each of these faces occupies area [1], hence the total area of the drawing is , which gives the bound claimed by the theorem.
In the rest of the section, we prove a matching upper bound for the case of outerpaths. Note that there exist -vertex outerpaths with internal faces of size , hence the lower bound of Theorem 8 applies to outerpaths as well. We introduce some notation and definitions. Let be an outerpath and let be the weak-dual of , which is a path; refer to Fig.˜8. Let be the edge of dual to the edge of and let be the edge of dual to the edge of . Moreover, let be any of the two external edges incident to that belong to the face of , where immediately follows when traversing the outer face of in counter-clockwise order. Also, let be any of the two external edges incident to that belong to the face of . We augment with two new vertices and , and edges and . We interpret and as edges dual to and , respectively.
We now describe a decomposition of into a sequence of smaller outerpaths such that any two consecutive outerpaths in the sequence share exactly one internal edge of . We let be the edge . Let be the plane graph induced by the vertices delimiting the internal faces of incident to the end-vertex common to and (see the vertex in Fig.˜8). Let be the external edge of , other than , dual to an edge of . We call a fan graph with gate edges and . Suppose that, for some , a fan graph with gate edges and has been defined. Let and be the end-vertices of , where is encountered before when traversing the outer face of in counter-clockwise direction from to . We define the fan graph as follows. Let be defined as . Then is the outerplane graph induced by the vertices that do not belong to and that are incident to faces that have or on their boundary. Let be the external edge of , other than , dual to an edge of . The edges and are the gate edges of . Eventually, the decomposition defines a fan graph with gate edges and such that .
We will show that each fan graph with gate edges and admits a block-drawing. This is an outerplanar internally-strictly-convex grid drawing of satisfying the following properties:
-
B.1
The two gate edges and are drawn as vertical segments of unit length such that and ;
-
B.2
the vertices and are the leftmost vertices of and no other vertex of has the same -coordinate as these vertices; and
-
B.3
the vertices and are the rightmost vertices of and no other vertex of has the same -coordinate as these vertices.
We proceed as follows. Lemmas 9 and 10 are two technical lemmas that yield special internally-strictly-convex grid drawings of cycles. We use these two lemmas to compute a block-drawing of each fan graph with appropriate area bounds. We do so by drawing each of its faces using either Lemma 9 or Lemma 10, and we appropriately “merge” them together (Lemma 11). The final drawing of is obtained by “gluing” the block-drawings (Theorem 12) at their shared gate edges.
In the following, by half-plane of a line we mean an open half-plane bounded by the line.
Lemma 9 ().
Let with be a cycle. Let be a segment representing such that is at the origin , is a non-negative integer, and . Then admits an internally-strictly-convex grid drawing such that :
-
I.1
represents in ;
-
I.2
the vertex is placed at ;
-
I.3
let be the line that passes through oriented in the direction from to . Then, all the vertices lie in the right half-plane of ;
-
I.4
the width of is ; and
-
I.5
the height of is .
Sketch.
The drawing can be obtained as follows; see Fig.˜9. Vertices and are at and in . For , we place at . Finally, we place vertex at . This completes the construction of . We defer the proof that satisfies Properties I.1, I.2, I.3, I.4, and I.5 to the full version [3].
The following property is a consequence of the constraints of the drawings of Lemma 9.
Property 2.
Let be the drawing of a cycle produced by Lemma 9. Then the drawing obtained by shifting vertex in by any integer amounts to the right and/or to the bottom is an internally-strictly-convex grid drawing of .
Lemma 10 ().
Let with be a cycle. Let and be two non-adjacent edges of . Let be a segment that represents such that is at the origin , is a non-negative integer, and . Then admits an internally-strictly-convex grid drawing such that:
-
J.1
represents in ;
-
J.2
the edge is represented by a vertical segment such that , , and ;
-
J.3
the width of is ; and
-
J.4
the height of is .
Sketch..
We show how to construct the drawing ; refer to Fig.˜10. First, we define two cycles and . We apply Lemma 9 to obtain a drawing of in which the edge is represented by and to obtain a drawing of in which the edge is represented by the segment connecting points and . Let be the maximum -coordinate of a vertex in and . We leverage Property 2 to obtain a drawing of by shifting the vertex horizontally and rightward in so that its -coordinate is . Analogously, we leverage Property 2 to obtain a drawing of by shifting the vertex downward and rightward in so that its -coordinate is and its -coordinate is . To obtain the drawing we then proceed as follows. We first initialize to . Then we construct a vertically-mirrored copy of , that is, we flip the sign of the -coordinate of each vertex, and we insert in so that the placement of is the same in both drawings. Finally, we remove from the drawing of the edges and and draw the edge as a vertical segment of unit length. This concludes the construction of . We defer the proof that satisfies Properties J.1, J.2, J.3, and J.4 to the full version [3].
Property 3.
Let be the drawing of a cycle produced by Lemma 10. Then the drawing obtained by shifting vertices and in by the same integer amount to the right is an internally-strictly-convex grid drawing of .
We next show how to construct a block-drawing of a fan graph with appropriate area bounds.
Lemma 11 ().
Every -vertex fan graph with internal faces of size at most admits a block-drawing whose width is and whose height is .
Sketch.
We show how to construct a block drawing of an -vertex fan graph with gate edges and in the more interesting case in which one of and , say , is incident to at least two internal edges (see, e.g., in Fig.˜11). Let be the internal faces of in clockwise order around , where is incident to . Then, for , we draw the cycle bounding face by applying Lemma 9 with being and being the segment between and , if , and being the unique edge shared by and , and being the segment representing in the drawing constructed so far, otherwise. Finally, we draw the cycle , obtained by merging the boundaries of and and by removing their shared edge , by applying Lemma 10 with being the edge , being the segment representing the edge , and being . Then, by Property 3, we shift to the right vertices and so that they lie one unit to the right of the rightmost of the remaining vertices of . Finally, we obtain the desired block drawing of by simply drawing the removed edge as a straight-line chord of the strictly-convex polygon representing . We defer the proof that is a block drawing with the desired width and height bounds, as well as the remaining cases of the proof, to the full version [3].
We are now ready to prove the main theorem of this section.
Theorem 12.
Every -vertex outerpath whose internal faces have size at most admits an internally-strictly-convex grid drawing in area.
Proof.
We compute block drawings of the fan graphs of the outerpath so that each block drawing has height and width by Lemma 11, where is the number of vertices of and is the maximum size of any face of (. We iteratively construct by “gluing” together the block drawings at their common gate edges. More precisely, we proceed as follows. We initialize to . Then, for , we augment with a copy of so that the drawing of the gate edge in coincides with the drawing of in the drawing constructed so far. It follows that the height of is , which is in , while its width is , which is in .
5 Conclusions
In this paper we have proved the first sub-quadratic area upper bound for internally-convex grid drawings of outerplanar graphs. We also presented algorithms to construct internally-strictly-convex grid drawings of outerpaths whose area is asymptotically optimal, with respect to the number of vertices of the graph and the maximum size of an internal face.
Several intriguing questions are left open by our research:
-
A first, natural, research direction is to narrow the gap between the upper bound and the lower bound for internally-convex grid drawings of -vertex outerplanar graphs. In particular, any super-linear lower bound would be an important step towards proving an analogous result for (not necessarily convex) planar straight-line grid drawings.
-
Concerning internally-strictly-convex grid drawings of (general) -vertex outerplane graphs whose faces have size at most , for which we proved an lower bound, we are not aware of any upper bound better than , which comes from the literature on strictly-convex polygons [1]. Tightening this gap is a nice goal.
-
The case , for which there is an upper bound (a consequence of results in [2]), is especially interesting. Indeed, any upper bound would translate to an upper bound for the area requirements of straight-line drawings of outer-1-planar graphs.
-
Finally, we have observed that, for convex grid drawings of -vertex outerplane graphs (in which the outer face is also required to be convex), is a tight bound for the area requirements. However, if the maximum size of an internal face is bounded, then our lower bound does not hold anymore. We believe that an lower bound can be proved, given that the outer face would require a dimension to have length in order to be convex and given that there exist -vertex trees that require length in both dimensions in any planar straight-line drawing (see, e.g., [14]). However, this lower bound is far from the upper bound and it would be interesting to close this gap.
We conclude by mentioning that we believe that the techniques we developed in order to construct internally-strictly-convex grid drawings of outerpaths could lead to non-trivial area bounds for outerplanar graphs whose weak dual tree has bounded diameter. We plan to investigate the truth of this intuition in the near future.
References
- [1] G. E. Andrews. A lower bound for the volume of strictly convex bodies with many boundary lattice points. Transactions of the American Mathematical Society, 106:270–279, 1963.
- [2] Imre Bárány and Günter Rote. Strictly convex drawings of planar graphs. Documenta Mathematica, 11:369–391, 2006. doi:10.4171/DM/214.
- [3] Michael A. Bekos, Giordano Da Lozzo, Fabrizio Frati, Giuseppe Liotta, and Antonios Symvonis. Internally-convex drawings of outerplanar graphs in small area. CoRR, abs/2508.19913, 2025. URL: https://arxiv.org/abs/2508.19913.
- [4] Michael A. Bekos, Martin Gronemann, Fabrizio Montecchiani, and Antonios Symvonis. Strictly-convex drawings of 3-connected planar graphs. J. Comput. Geom., 15(1):1–20, 2024. doi:10.20382/JOCG.V15I1A1.
- [5] Therese Biedl. Drawing outer-planar graphs in area. In Stephen G. Kobourov and Michael T. Goodrich, editors, 10th International Symposium on Graph Drawing (GD 2002), volume 2528 of LNCS, pages 54–65. Springer, 2002. doi:10.1007/3-540-36151-0_6.
- [6] Therese Biedl, Giuseppe Liotta, Jayson Lynch, and Fabrizio Montecchiani. Optimal-area visibility representations of outer-1-plane graphs. J. Comput. Geom., 15(1):109–142, 2024. doi:10.20382/JOCG.V15I1A5.
- [7] Franz-Josef Brandenburg, David Eppstein, Michael T. Goodrich, Stephen G. Kobourov, Giuseppe Liotta, and Petra Mutzel. Selected open problems in graph drawing. In Giuseppe Liotta, editor, 11th International Symposium on Graph Drawing (GD 2003), volume 2912 of LNCS, pages 515–539. Springer, 2003. doi:10.1007/978-3-540-24595-7_55.
- [8] Timothy M. Chan. A near-linear area bound for drawing binary trees. Algorithmica, 34(1):1–13, 2002. doi:10.1007/S00453-002-0937-X.
- [9] Marek Chrobak and Goos Kant. Convex grid drawings of 3-connected planar graphs. Int. J. Comput. Geom. Appl., 7(3):211–223, 1997. doi:10.1142/S0218195997000144.
- [10] Hubert de Fraysseix, János Pach, and Richard Pollack. How to draw a planar graph on a grid. Combinatorica, 10(1):41–51, 1990. doi:10.1007/BF02122694.
- [11] Giuseppe Di Battista, Peter Eades, Roberto Tamassia, and Ioannis G. Tollis. Graph Drawing: Algorithms for the Visualization of Graphs. Prentice-Hall, 1999.
- [12] Giuseppe Di Battista and Fabrizio Frati. Small area drawings of outerplanar graphs. Algorithmica, 54(1):25–53, 2009. doi:10.1007/S00453-007-9117-3.
- [13] Stefan Felsner. Convex drawings of planar graphs and the order dimension of 3-polytopes. Order, 18(1):19–37, 2001. doi:10.1023/A:1010604726900.
- [14] Stefan Felsner, Giuseppe Liotta, and Stephen K. Wismath. Straight-line drawings on restricted integer grids in two and three dimensions. J. Graph Algorithms Appl., 7(4):363–398, 2003. doi:10.7155/JGAA.00075.
- [15] Fabrizio Frati. Straight-line drawings of outerplanar graphs in area. Comput. Geom., 45(9):524–533, 2012. doi:10.1016/J.COMGEO.2010.03.007.
- [16] Fabrizio Frati, Maurizio Patrignani, and Vincenzo Roselli. LR-drawings of ordered rooted binary trees and near-linear area drawings of outerplanar graphs. J. Comput. Syst. Sci., 107:28–53, 2020. doi:10.1016/J.JCSS.2019.08.001.
- [17] Ashim Garg and Adrian Rusu. Area-efficient planar straight-line drawings of outerplanar graphs. Discret. Appl. Math., 155(9):1116–1140, 2007. doi:10.1016/J.DAM.2005.12.008.
- [18] Goos Kant. Drawing planar graphs using the canonical ordering. Algorithmica, 16(1):4–32, 1996. doi:10.1007/BF02086606.
- [19] Charles E. Leiserson. Area-efficient graph layouts (for VLSI). In 21st Annual Symposium on Foundations of Computer Science (FOCS 1980), pages 270–281. IEEE Computer Society, 1980. doi:10.1109/SFCS.1980.13.
- [20] Walter Schnyder. Embedding planar graphs on the grid. In ACM-SIAM Symposium on Discrete Algorithms (SODA 1990), pages 138–148. SIAM, 1990. URL: http://dl.acm.org/citation.cfm?id=320176.320191.
