299 research outputs found

    Morphing Planar Graph Drawings Optimally

    Full text link
    We provide an algorithm for computing a planar morph between any two planar straight-line drawings of any nn-vertex plane graph in O(n)O(n) morphing steps, thus improving upon the previously best known O(n2)O(n^2) upper bound. Further, we prove that our algorithm is optimal, that is, we show that there exist two planar straight-line drawings Γs\Gamma_s and Γt\Gamma_t of an nn-vertex plane graph GG such that any planar morph between Γs\Gamma_s and Γt\Gamma_t requires Ω(n)\Omega(n) morphing steps

    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

    A Note on Plus-Contacts, Rectangular Duals, and Box-Orthogonal Drawings

    Full text link
    A plus-contact representation of a planar graph GG is called cc-balanced if for every plus shape +v+_v, the number of other plus shapes incident to each arm of +v+_v is at most cΔ+O(1) c \Delta +O(1), where Δ\Delta is the maximum degree of GG. Although small values of cc have been achieved for a few subclasses of planar graphs (e.g., 22- and 33-trees), it is unknown whether cc-balanced representations with c<1c<1 exist for arbitrary planar graphs. In this paper we compute (1/2)(1/2)-balanced plus-contact representations for all planar graphs that admit a rectangular dual. Our result implies that any graph with a rectangular dual has a 1-bend box-orthogonal drawings such that for each vertex vv, the box representing vv is a square of side length deg(v)2+O(1)\frac{deg(v)}{2}+ O(1).Comment: A poster related to this research appeared at the 25th International Symposium on Graph Drawing & Network Visualization (GD 2017

    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

    Optimal Morphs of Planar Orthogonal Drawings

    Get PDF
    We describe an algorithm that morphs between two planar orthogonal drawings Gamma_I and Gamma_O of a connected graph G, while preserving planarity and orthogonality. Necessarily Gamma_I and Gamma_O share the same combinatorial embedding. Our morph uses a linear number of linear morphs (linear interpolations between two drawings) and preserves linear complexity throughout the process, thereby answering an open question from Biedl et al. [Biedl et al., 2013]. Our algorithm first unifies the two drawings to ensure an equal number of (virtual) bends on each edge. We then interpret bends as vertices which form obstacles for so-called wires: horizontal and vertical lines separating the vertices of Gamma_O. We can find corresponding wires in Gamma_I that share topological properties with the wires in Gamma_O. The structural difference between the two drawings can be captured by the spirality of the wires in Gamma_I, which guides our morph from Gamma_I to Gamma_O

    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
    • …
    corecore