60 research outputs found

    Convexity-Increasing Morphs of Planar Graphs

    Full text link
    We study the problem of convexifying drawings of planar graphs. Given any planar straight-line drawing of an internally 3-connected graph, we show how to morph the drawing to one with strictly convex faces while maintaining planarity at all times. Our morph is convexity-increasing, meaning that once an angle is convex, it remains convex. We give an efficient algorithm that constructs such a morph as a composition of a linear number of steps where each step either moves vertices along horizontal lines or moves vertices along vertical lines. Moreover, we show that a linear number of steps is worst-case optimal. To obtain our result, we use a well-known technique by Hong and Nagamochi for finding redrawings with convex faces while preserving y-coordinates. Using a variant of Tutte's graph drawing algorithm, we obtain a new proof of Hong and Nagamochi's result which comes with a better running time. This is of independent interest, as Hong and Nagamochi's technique serves as a building block in existing morphing algorithms.Comment: Preliminary version in Proc. WG 201

    Facets of Planar Graph Drawing

    Get PDF
    This thesis makes a contribution to the field of Graph Drawing, with a focus on the planarity drawing convention. The following three problems are considered. (1) Ordered Level Planarity: We introduce and study the problem Ordered Level Planarity which asks for a planar drawing of a graph such that vertices are placed at prescribed positions in the plane and such that every edge is realized as a y-monotone curve. This can be interpreted as a variant of Level Planarity in which the vertices on each level appear in a prescribed total order. We establish a complexity dichotomy with respect to both the maximum degree and the level-width, that is, the maximum number of vertices that share a level. Our study of Ordered Level Planarity is motivated by connections to several other graph drawing problems. With reductions from Ordered Level Planarity, we show NP-hardness of multiple problems whose complexity was previously open, and strengthen several previous hardness results. In particular, our reduction to Clustered Level Planarity generates instances with only two nontrivial clusters. This answers a question posed by Angelini, Da Lozzo, Di Battista, Frati, and Roselli [2015]. We settle the complexity of the Bi-Monotonicity problem, which was proposed by Fulek, Pelsmajer, Schaefer, and Stefankovic [2013]. We also present a reduction to Manhattan Geodesic Planarity, showing that a previously [2009] claimed polynomial time algorithm is incorrect unless P=NP. (2) Two-page book embeddings of triconnected planar graphs: We show that every triconnected planar graph of maximum degree five is a subgraph of a Hamiltonian planar graph or, equivalently, it admits a two-page book embedding. In fact, our result is more general: we only require vertices of separating 3-cycles to have degree at most five, all other vertices may have arbitrary degree. This degree bound is tight: we describe a family of triconnected planar graphs that cannot be realized on two pages and where every vertex of a separating 3-cycle has degree at most six. Our results strengthen earlier work by Heath [1995] and by Bauernöppel [1987] and, independently, Bekos, Gronemann, and Raftopoulou [2016], who showed that planar graphs of maximum degree three and four, respectively, can always be realized on two pages. The proof is constructive and yields a quadratic time algorithm to realize the given graph on two pages. (3) Convexity-increasing morphs: We study the problem of convexifying drawings of planar graphs. Given any planar straight-line drawing of an internally 3-connected graph, we show how to morph the drawing to one with strictly convex faces while maintaining planarity at all times. Our morph is convexity-increasing, meaning that once an angle is convex, it remains convex. We give an efficient algorithm that constructs such a morph as a composition of a linear number of steps where each step either moves vertices along horizontal lines or moves vertices along vertical lines. Moreover, we show that a linear number of steps is worst-case optimal.Diese Arbeit behandelt drei unterschiedliche Problemstellungen aus der Disziplin des Graphenzeichnens (Graph Drawing). Bei jedem der behandelten Probleme ist die gesuchte Darstellung planar. (1) Ordered Level Planarity: Wir führen das Problem Ordered Level Planarity ein, bei dem es darum geht, einen Graph so zu zeichnen, dass jeder Knoten an einer vorgegebenen Position der Ebene platziert wird und die Kanten als y-monotone Kurven dargestellt werden. Dies kann als eine Variante von Level Planarity interpretiert werden, bei der die Knoten jedes Levels in einer vorgeschriebenen Reihenfolge platziert werden müssen. Wir klassifizieren die Eingaben bezüglich ihrer Komplexität in Abhängigkeit von sowohl dem Maximalgrad, als auch der maximalen Anzahl von Knoten, die demselben Level zugeordnet sind. Wir motivieren die Ergebnisse, indem wir Verbindungen zu einigen anderen Graph Drawing Problemen herleiten: Mittels Reduktionen von Ordered Level Planarity zeigen wir die NP-Schwere einiger Probleme, deren Komplexität bislang offen war. Insbesondere wird gezeigt, dass Clustered Level Planarity bereits für Instanzen mit zwei nichttrivialen Clustern NP-schwer ist, was eine Frage von Angelini, Da Lozzo, Di Battista, Frati und Roselli [2015] beantwortet. Wir zeigen die NP-Schwere des Bi-Monotonicity Problems und beantworten damit eine Frage von Fulek, Pelsmajer, Schaefer und Stefankovic [2013]. Außerdem wird eine Reduktion zu Manhattan Geodesic Planarity angegeben. Dies zeigt, dass ein bestehender [2009] Polynomialzeitalgorithmus für dieses Problem inkorrekt ist, es sei denn, dass P=NP ist. (2) Bucheinbettungen von dreifach zusammenhängenden planaren Graphen mit zwei Seiten: Wir zeigen, dass jeder dreifach zusammenhängende planare Graph mit Maximalgrad 5 Teilgraph eines Hamiltonischen planaren Graphen ist. Dies ist äquivalent dazu, dass ein solcher Graph eine Bucheinbettung auf zwei Seiten hat. Der Beweis ist konstruktiv und zeigt in der Tat sogar, dass es für die Realisierbarkeit nur notwendig ist, den Grad von Knoten separierender 3-Kreise zu beschränken - die übrigen Knoten können beliebig hohe Grade aufweisen. Dieses Ergebnis ist bestmöglich: Wenn die Gradschranke auf 6 abgeschwächt wird, gibt es Gegenbeispiele. Diese Ergebnisse verbessern Resultate von Heath [1995] und von Bauernöppel [1987] und, unabhängig davon, Bekos, Gronemann und Raftopoulou [2016], die gezeigt haben, dass planare Graphen mit Maximalgrad 3 beziehungsweise 4 auf zwei Seiten realisiert werden können. (3) Konvexitätssteigernde Deformationen: Wir zeigen, dass jede planare geradlinige Zeichnung eines intern dreifach zusammenhängenden planaren Graphen stetig zu einer solchen deformiert werden kann, in der jede Fläche ein konvexes Polygon ist. Dabei erhält die Deformation die Planarität und ist konvexitätssteigernd - sobald ein Winkel konvex ist, bleibt er konvex. Wir geben einen effizienten Algorithmus an, der eine solche Deformation berechnet, die aus einer asymptotisch optimalen Anzahl von Schritten besteht. In jedem Schritt bewegen sich entweder alle Knoten entlang horizontaler oder entlang vertikaler Geraden

    Manipulating Weights to Improve Stress-Graph Drawings of 3-Connected Planar Graphs

    Full text link
    We study methods to manipulate weights in stress-graph embeddings to improve convex straight-line planar drawings of 3-connected planar graphs. Stress-graph embeddings are weighted versions of Tutte embeddings, where solving a linear system places vertices at a minimum-energy configuration for a system of springs. A major drawback of the unweighted Tutte embedding is that it often results in drawings with exponential area. We present a number of approaches for choosing better weights. One approach constructs weights (in linear time) that uniformly spread all vertices in a chosen direction, such as parallel to the xx- or yy-axis. A second approach morphs xx- and yy-spread drawings to produce a more aesthetically pleasing and uncluttered drawing. We further explore a "kaleidoscope" paradigm for this xyxy-morph approach, where we rotate the coordinate axes so as to find the best spreads and morphs. A third approach chooses the weight of each edge according to its depth in a spanning tree rooted at the outer vertices, such as a Schnyder wood or BFS tree, in order to pull vertices closer to the boundary.Comment: 14 pages, 10 figure

    Upward Planar Morphs

    Full text link
    We prove that, given two topologically-equivalent upward planar straight-line drawings of an nn-vertex directed graph GG, there always exists a morph between them such that all the intermediate drawings of the morph are upward planar and straight-line. Such a morph consists of O(1)O(1) morphing steps if GG is a reduced planar stst-graph, O(n)O(n) morphing steps if GG is a planar stst-graph, O(n)O(n) morphing steps if GG is a reduced upward planar graph, and O(n2)O(n^2) morphing steps if GG is a general upward planar graph. Further, we show that Ω(n)\Omega(n) morphing steps might be necessary for an upward planar morph between two topologically-equivalent upward planar straight-line drawings of an nn-vertex path.Comment: Appears in the Proceedings of the 26th International Symposium on Graph Drawing and Network Visualization (GD 2018) The current version is the extended on

    Convex Drawings of Hierarchical Graphs in Linear Time, with Applications to Planar Graph Morphing

    Get PDF

    Straight Line Movement in Morphing and Pursuit Evasion

    Get PDF
    Piece-wise linear structures are widely used to define problems and to represent simplified solutions in computational geometry. A piece-wise linear structure consists of straight-line or linear pieces connected together in a continuous geometric environment like 2D or 3D Euclidean spaces. In this thesis two different problems both with the approach of finding piece-wise linear solutions in 2D space are defined and studied: straight-line pursuit evasion and straight-line morphing. Straight-line pursuit evasion is a geometric version of the famous cops and robbers game that is defined in this thesis for the first time. The game is played in a simply connected region in 2D. It is a full information game where the players take turns. The cop’s goal is to catch the robber. In a turn, each player may move any distance along a straight line as long as the line segment connecting their current location to the new location is not blocked by the region’s boundary. We first prove that the cop can always win the game when the players move on the visibility graph of a simple polygon. We prove this by showing that the visibility graph of a simple polygon is “dismantlable” (the known class of cop-win graphs). Polygon visibility graphs are also shown to be 2-dismantlable. Two other settings of the game are also studied in this thesis: when the players are free to move on the infinitely many points inside a simple polygon, and inside a splinegon. In both cases we show that the cop can always win the game. For the case of polygons, the proposed cop strategy gives an asymptotically tight linear bound on the number of steps the cop needs to catch the robber. For the case of splinegons, the cop may need a quadratic number of steps with the proposed strategy, while our best lower bound is linear. Straight-line morphing is a type of morphing first defined in this thesis that provides a nice and smooth transformation between straight-line graph drawings in 2D. In straight- line morphing, each vertex of the graph moves forward along the line segment connecting its initial position to its final position. The vertex trajectories in straight-line morphing are very simple, but because the speed of each vertex may vary, straight-line morphs are more general than the commonly used “linear morphs” where each vertex moves at uniform speed. We explore the problem of whether an initial planar straight-line drawing of a graph can be morphed to a final straight-line drawing of the graph using a straight-line morph that preserves planarity at all times. We prove that this problem is NP-hard even for the special case where the graph drawing consists of disjoint segments. We then look at some restricted versions of the straight-line morphing: when only one vertex moves at a time, when the vertices move one by one to their final positions uninterruptedly, and when the edges morph one by one to their final configurations in the case of disjoint segments. Some of the variations are shown to be still NP-complete while some others are solvable in polynomial time. We conjecture that the class of planar straight-line morphs is as powerful as the class of planar piece-wise linear straight-line morphs. We also explore a simpler problem where for each edge the quadrilateral formed by its initial and final positions together with the trajectories of its two vertices is convex. There is a necessary condition for this case that we conjecture is also sufficient for paths and cycles

    Graph Morphing via Orthogonal Box Drawings

    Get PDF
    Abstract: A graph is a set of vertices, with some pairwise connections given by a set of edges. A graph drawing, such as a node-link diagram, visualizes a graph with geometric features. One of the most common forms of a graph drawings are straight-line point drawings, which represent each vertex with a point and each edge with a line segment connecting its relevant points, and poly-line point drawings, which more generally allow edges to be represented by poly-lines. Of particular interest to this work are planar straight-line drawings and planar poly-line drawings, in which no two vertices share a location, and no two edges cross (except at shared endpoints). We study the morphing problem for planar drawings: Given two planar drawings of the same graph, can we output a continuous transformation (a “morph”) from one to the other, such that each intermediate drawing is also a planar drawing? It is quite easy to test if a morph exists, but the test is non-constructive. We are interested in the problem of constructing morphs with simple representations. Specifically, we study sequences of linear morphs, which represent the overall morph with a sequence of drawings, so that each pair of adjacent drawings in the sequence can be linearly interpolated. Each drawing in the sequence is called an “explicit” intermediate drawing, since it given explicitly in the output. Previous work has shown that a pair of straight-line drawings of an n-vertex graph can be morphed using O(n) linear morphs, so that every explicit intermediate drawing is a straight-line drawing. We show that an additional constraint can be added, at the cost of a small tradeoff: We further restrict the explicit intermediate drawings to lie on an O(n)×O(n) grid, while allowing them to be poly-line drawings with O(1) bends per edge. Additionally, we give an algorithm that computes this sequence in O(n^2) time, which is known to be tight. Our methods involve morphing another class of drawings—orthogonal box drawings—which represent each vertex with an axis-aligned rectangle, and each edge with an orthogonal poly-line. Our methods for morphing orthogonal box drawings make use of methods known for morphing orthogonal point drawings, which are poly-line drawings that restrict each poly-line to use only axis-aligned line segments
    • …
    corecore