{"title":"Morphing Planar Graph Drawings via Orthogonal Box Drawings","authors":"Therese Biedl, Anna Lubiw, Jack Spalding-Jamieson","doi":"arxiv-2409.04074","DOIUrl":null,"url":null,"abstract":"We give an algorithm to morph planar graph drawings that achieves small grid\nsize at the expense of allowing a constant number of bends on each edge. The\ninput is an $n$-vertex planar graph and two planar straight-line drawings of\nthe graph on an $O(n) \\times O(n)$ grid. The planarity-preserving morph is\ncomposed of $O(n)$ linear morphs between successive pairs of drawings, each on\nan $O(n) \\times O(n)$ grid with a constant number of bends per edge. The\nalgorithm to compute the morph runs in $O(n^2)$ time on a word RAM model with\nstandard arithmetic operations -- in particular no square roots or cube roots\nare required. The first step of the algorithm is to morph each input drawing to a planar\northogonal box drawing where vertices are represented by boxes and each edge is\ndrawn as a horizontal or vertical segment. The second step is to morph between\nplanar orthogonal box drawings. This is done by extending known techniques for\nmorphing planar orthogonal drawings with point vertices.","PeriodicalId":501570,"journal":{"name":"arXiv - CS - Computational Geometry","volume":"25 1","pages":""},"PeriodicalIF":0.0000,"publicationDate":"2024-09-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"arXiv - CS - Computational Geometry","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/arxiv-2409.04074","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0
Abstract
We give an algorithm to morph planar graph drawings that achieves small grid
size at the expense of allowing a constant number of bends on each edge. The
input is an $n$-vertex planar graph and two planar straight-line drawings of
the graph on an $O(n) \times O(n)$ grid. The planarity-preserving morph is
composed of $O(n)$ linear morphs between successive pairs of drawings, each on
an $O(n) \times O(n)$ grid with a constant number of bends per edge. The
algorithm to compute the morph runs in $O(n^2)$ time on a word RAM model with
standard arithmetic operations -- in particular no square roots or cube roots
are required. The first step of the algorithm is to morph each input drawing to a planar
orthogonal box drawing where vertices are represented by boxes and each edge is
drawn as a horizontal or vertical segment. The second step is to morph between
planar orthogonal box drawings. This is done by extending known techniques for
morphing planar orthogonal drawings with point vertices.