Windrose Planarity (original) (raw)
Related papers
Windrose planarity: embedding graphs with direction-constrained edges
Symposium on Discrete Algorithms, 2016
Given a planar graph G(V, E) and a partition of the neighbors of each vertex v ∈ V in four sets v, v, v, and v, the problem WINDROSE PLANARITY asks to decide whether G admits a windrose-planar drawing, that is, a planar drawing in which (i) each neighbor u ∈ v is above and to the right of v, (ii) each neighbor u ∈ v is above and to the left of v, (iii) each neighbor u ∈ v is below and to the left of v, (iv) each neighbor u ∈ v is below and to the right of v, and (v) edges are represented by curves that are monotone with respect to each axis. By exploiting both the horizontal and the vertical relationship among vertices, windrose-planar drawings allow to simultaneously visualize two partial orders defined by means of the edges of the graph. Although the problem is N P-hard in the general case, we give a polynomial-time algorithm for testing whether there exists a windrose-planar drawing that respects a combinatorial embedding that is given as part of the input. This algorithm is based on a characterization of the plane triangulations admitting a windrose-planar drawing. Furthermore, for any embedded graph admitting a windrose-planar drawing we show how to construct one with at most one bend per edge on an O(n) × O(n) grid. The latter result contrasts with the fact that straight-line windrose-planar drawings may require exponential area.
Rectangular Drawings of Planar Graphs
Lecture Notes in Computer Science, 2002
A plane graph is a planar graph with a fixed embedding in the plane. In a rectangular drawing of a plane graph, each vertex is drawn as a point, each edge is drawn as a horizontal or vertical line segment, and each face is drawn as a rectangle. A planar graph is said to have a rectangular drawing if at least one of its plane embeddings has a rectangular drawing. In this paper we give a linear-time algorithm to examine whether a planar graph G of maximum degree three has a rectangular drawing or not, and to find a rectangular drawing of G if it exists.
Curve-constrained drawings of planar graphs
Computational Geometry, 2005
Let C be the family of 2D curves described by concave functions, let G be a planar graph, and let L be a linear ordering of the vertices of G. L is a curve embedding of G if for any given curve Λ ∈ C there exists a planar drawing of G such that: (i) the vertices are constrained to be on Λ with the same ordering as in L, and (ii) the edges are polylines with at most one bend. Informally speaking, a curve embedding can be regarded as a two-page book embedding in which the spine is bent. Although deciding whether a graph has a two-page book embedding is an NP-hard problem, in this paper it is proven that every planar graph has a curve embedding which can be computed in linear time. Applications of the concept of curve embedding to upward drawability and point-set embeddability problems are also presented.
Straight-Line Grid Drawings of 3-Connected 1-Planar Graphs
Lecture Notes in Computer Science, 2013
A graph is 1-planar if it can be drawn in the plane such that each edge is crossed at most once. In general, 1-planar graphs do not admit straightline drawings. We show that every 3-connected 1-planar graph has a straight-line drawing on an integer grid of quadratic size, with the exception of a single edge on the outer face that has one bend. The drawing can be computed in linear time from any given 1-planar embedding of the graph.
Box-Rectangular Drawings of Planar Graphs
Journal of Graph Algorithms and Applications, 2013
A plane graph is a planar graph with a fixed planar embedding in the plane. In a box-rectangular drawing of a plane graph, every vertex is drawn as a rectangle, called a box, each edge is drawn as either a horizontal line segment or a vertical line segment, and the contour of each face is drawn as a rectangle. A planar graph is said to have a box-rectangular drawing if at least one of its plane embeddings has a box-rectangular drawing. Rahman et al. [11] gave a necessary and sufficient condition for a plane graph to have a box-rectangular drawing and developed a lineartime algorithm to draw a box-rectangular drawing of a plane graph if it exists. Since a planar graph G may have an exponential number of planar embeddings, determining whether G has a box-rectangular drawing or not using the algorithm of Rahman et al. [11] for each planar embedding of G takes exponential time. Thus to develop an efficient algorithm to examine whether a planar graph has a box-rectangular drawing or not is a non-trivial problem. In this paper we give a linear-time algorithm to determine whether a planar graph G has a box-rectangular drawing or not, and to find a box-rectangular drawing of G if it exists.
Testing Planarity of Partially Embedded Graphs
ACM Transactions on Algorithms, 2015
We study the following problem: Given a planar graph G and a planar drawing (embedding) of a subgraph of G, can such a drawing be extended to a planar drawing of the entire graph G? This problem fits the paradigm of extending a partial solution to a complete one, which has been studied before in many different settings. Unlike many cases, in which the presence of a partial solution in the input makes hard an otherwise easy problem, we show that the planarity question remains polynomial-time solvable. Our algorithm is based on several combinatorial lemmata which show that the planarity of partially embedded graphs meets the "oncas" behaviour -obvious necessary conditions for planarity are also sufficient. These conditions are expressed in terms of the interplay between (a) rotation schemes and containment relationships between cycles and (b) the decomposition of a graph into its connected, biconnected, and triconnected components. This implies that no dynamic programming is needed for a decision algorithm and that the elements of the decomposition can be processed independently.
2-visibility drawings of planar graphs
1997
In a 2-visibility drawing the vertices of a given graph are represented by rectangular boxes and the adjacency relations are expressed by horizontal and vertical lines drawn between the boxes. In this paper we want to emphasize this model as a practical alternative to other representations of graphs, and to demonstrate the quality of the produced drawings. We give several approaches, heuristics as well as provably good algorithms, to represent planar graphs within this model. To this, we present a polynomial time algorithm to compute a bend-minimum orthogonal drawing under the restriction that the number of bends at each edge is at most 1. 157
Recognizing and Drawing IC-Planar Graphs
Lecture Notes in Computer Science, 2015
We give new results about the relationship between 1-planar graphs and RAC graphs. A graph is 1-planar if it has a drawing where each edge is crossed at most once. A graph is RAC if it can be drawn in such a way that its edges cross only at right angles. These two classes of graphs and their relationships have been widely investigated in the last years, due to their relevance in application domains where computing readable graph layouts is important to analyze or design relational data sets. We study ICplanar graphs, the sub-family of 1-planar graphs that admit 1-planar drawings with independent crossings (i.e., no two crossed edges share an endpoint). We prove that every IC-planar graph admits a straight-line RAC drawing, which may require however exponential area. If we do not require right angle crossings, we can draw every ICplanar graph with straight-line edges in linear time and quadratic area. We then study the problem of testing whether a graph is IC-planar. We prove that this problem is NPhard, even if a rotation system for the graph is fixed. On the positive side, we describe a polynomial-time algorithm that tests whether a triangulated plane graph augmented with a given set of edges that form a matching is IC-planar.
On a Class of Planar Graphs with Straight-Line Grid Drawings on Linear Area
Journal of Graph Algorithms and Applications, 2009
A straight-line grid drawing of a planar graph G is a drawing of G on an integer grid such that each vertex is drawn as a grid point and each edge is drawn as a straight-line segment without edge crossings. It is well known that a planar graph of n vertices admits a straight-line grid drawing on a grid of area O(n 2). A lower bound of Ω(n 2) on the area-requirement for straight-line grid drawings of certain planar graphs are also known. In this paper, we introduce a fairly large class of planar graphs which admits a straight-line grid drawing on a grid of area O(n). We give a lineartime algorithm to find such a drawing. Our new class of planar graphs, which we call "doughnut graphs," is a subclass of 5-connected planar graphs. We show several interesting properties of "doughnut graphs" in this paper. One can easily observe that any spanning subgraph of a "doughnut graph" also admits a straight-line grid drawing with linear area. But the recognition of a spanning subgraph of a "doughnut graph" seems to be a non-trivial problem, since the recognition of a spanning subgraph of a given graph is an NP-complete problem in general. We establish a necessary and sufficient condition for a 4-connected planar graph G to be a spanning subgraph of a "doughnut graph." We also give a linear-time algorithm to augment a 4-connected planar graph G to a "doughnut graph" if G satisfies the necessary and sufficient condition.