3,560 research outputs found

    Monotone Grid Drawings of Planar Graphs

    Full text link
    A monotone drawing of a planar graph GG is a planar straight-line drawing of GG where a monotone path exists between every pair of vertices of GG in some direction. Recently monotone drawings of planar graphs have been proposed as a new standard for visualizing graphs. A monotone drawing of a planar graph is a monotone grid drawing if every vertex in the drawing is drawn on a grid point. In this paper we study monotone grid drawings of planar graphs in a variable embedding setting. We show that every connected planar graph of nn vertices has a monotone grid drawing on a grid of size O(n)×O(n2)O(n)\times O(n^2), and such a drawing can be found in O(n) time

    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

    Transforming planar graph drawings while maintaining height

    Full text link
    There are numerous styles of planar graph drawings, notably straight-line drawings, poly-line drawings, orthogonal graph drawings and visibility representations. In this note, we show that many of these drawings can be transformed from one style to another without changing the height of the drawing. We then give some applications of these transformations

    Drawing Planar Graphs with Few Geometric Primitives

    Get PDF
    We define the \emph{visual complexity} of a plane graph drawing to be the number of basic geometric objects needed to represent all its edges. In particular, one object may represent multiple edges (e.g., one needs only one line segment to draw a path with an arbitrary number of edges). Let nn denote the number of vertices of a graph. We show that trees can be drawn with 3n/43n/4 straight-line segments on a polynomial grid, and with n/2n/2 straight-line segments on a quasi-polynomial grid. Further, we present an algorithm for drawing planar 3-trees with (8n17)/3(8n-17)/3 segments on an O(n)×O(n2)O(n)\times O(n^2) grid. This algorithm can also be used with a small modification to draw maximal outerplanar graphs with 3n/23n/2 edges on an O(n)×O(n2)O(n)\times O(n^2) grid. We also study the problem of drawing maximal planar graphs with circular arcs and provide an algorithm to draw such graphs using only (5n11)/3(5n - 11)/3 arcs. This is significantly smaller than the lower bound of 2n2n for line segments for a nontrivial graph class.Comment: Appeared at Proc. 43rd International Workshop on Graph-Theoretic Concepts in Computer Science (WG 2017

    Compact Drawings of 1-Planar Graphs with Right-Angle Crossings and Few Bends

    Full text link
    We study the following classes of beyond-planar graphs: 1-planar, IC-planar, and NIC-planar graphs. These are the graphs that admit a 1-planar, IC-planar, and NIC-planar drawing, respectively. A drawing of a graph is 1-planar if every edge is crossed at most once. A 1-planar drawing is IC-planar if no two pairs of crossing edges share a vertex. A 1-planar drawing is NIC-planar if no two pairs of crossing edges share two vertices. We study the relations of these beyond-planar graph classes (beyond-planar graphs is a collective term for the primary attempts to generalize the planar graphs) to right-angle crossing (RAC) graphs that admit compact drawings on the grid with few bends. We present four drawing algorithms that preserve the given embeddings. First, we show that every nn-vertex NIC-planar graph admits a NIC-planar RAC drawing with at most one bend per edge on a grid of size O(n)×O(n)O(n) \times O(n). Then, we show that every nn-vertex 1-planar graph admits a 1-planar RAC drawing with at most two bends per edge on a grid of size O(n3)×O(n3)O(n^3) \times O(n^3). Finally, we make two known algorithms embedding-preserving; for drawing 1-planar RAC graphs with at most one bend per edge and for drawing IC-planar RAC graphs straight-line

    Canonical ordering for graphs on the cylinder, with applications to periodic straight-line drawings on the flat cylinder and torus

    Get PDF
    We extend the notion of canonical ordering (initially developed for planar triangulations and 3-connected planar maps) to cylindric (essentially simple) triangulations and more generally to cylindric (essentially internally) 33-connected maps. This allows us to extend the incremental straight-line drawing algorithm of de Fraysseix, Pach and Pollack (in the triangulated case) and of Kant (in the 33-connected case) to this setting. Precisely, for any cylindric essentially internally 33-connected map GG with nn vertices, we can obtain in linear time a periodic (in xx) straight-line drawing of GG that is crossing-free and internally (weakly) convex, on a regular grid Z/wZ×[0..h]\mathbb{Z}/w\mathbb{Z}\times[0..h], with w2nw\leq 2n and hn(2d+1)h\leq n(2d+1), where dd is the face-distance between the two boundaries. This also yields an efficient periodic drawing algorithm for graphs on the torus. Precisely, for any essentially 33-connected map GG on the torus (i.e., 33-connected in the periodic representation) with nn vertices, we can compute in linear time a periodic straight-line drawing of GG that is crossing-free and (weakly) convex, on a periodic regular grid Z/wZ×Z/hZ\mathbb{Z}/w\mathbb{Z}\times\mathbb{Z}/h\mathbb{Z}, with w2nw\leq 2n and h1+2n(c+1)h\leq 1+2n(c+1), where cc is the face-width of GG. Since c2nc\leq\sqrt{2n}, the grid area is O(n5/2)O(n^{5/2}).Comment: 37 page

    Recognizing and Drawing IC-planar Graphs

    Full text link
    IC-planar graphs are those graphs that admit a drawing where no two crossed edges share an end-vertex and each edge is crossed at most once. They are a proper subfamily of the 1-planar graphs. Given an embedded IC-planar graph GG with nn vertices, we present an O(n)O(n)-time algorithm that computes a straight-line drawing of GG in quadratic area, and an O(n3)O(n^3)-time algorithm that computes a straight-line drawing of GG with right-angle crossings in exponential area. Both these area requirements are worst-case optimal. We also show that it is NP-complete to test IC-planarity both in the general case and in the case in which a rotation system is fixed for the input graph. Furthermore, we describe a polynomial-time algorithm to test whether a set of matching edges can be added to a triangulated planar graph such that the resulting graph is IC-planar
    corecore