Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
skip to main content
research-article

Optimal Orthogonal Graph Drawing with Convex Bend Costs

Published: 25 April 2016 Publication History

Abstract

Traditionally, the quality of orthogonal planar drawings is quantified by the total number of bends or the maximum number of bends per edge. However, this neglects that, in typical applications, edges have varying importance. We consider the problem OptimalFlexDraw that is defined as follows. Given a planar graph G on n vertices with maximum degree 4 (4-planar graph) and for each edge e a cost function coste : N0 → R defining costs depending on the number of bends e has, compute a planar orthogonal drawing of G of minimum cost.
In this generality OptimalFlexDraw is NP-hard. We show that it can be solved efficiently if (1) the cost function of each edge is convex and (2) the first bend on each edge does not cause any cost. Our algorithm takes time O(n, ⋅, Tflow(n) and O(n2, ⋅, Tflow(n)) for biconnected and connected graphs, respectively, where Tflow(n) denotes the time to compute a minimum-cost flow in a planar network with multiple sources and sinks. Our result is the first polynomial-time bend-optimization algorithm for general 4-planar graphs optimizing over all embeddings. Previous work considers restricted graph classes and unit costs.

References

[1]
Therese Biedl and Goos Kant. 1998. A better heuristic for orthogonal graph drawings. Comput. Geom. 9, 3 (1998), 159--180.
[2]
Thomas Bläsius, Marcus Krug, Ignaz Rutter, and Dorothea Wagner. 2014. Orthogonal graph drawing with flexibility constraints. Algorithmica 68, 4 (2014), 859--885.
[3]
Thomas Bläsius, Sebastian Lehmann, and Ignaz Rutter. 2015. Orthogonal graph drawing with inflexible edges. In Algorithms and Complexity (CIAC’15) (LNCS), Vangelis Th. Paschos and Peter Widmayer (Eds.), Vol. 9079. Springer, Berlin, 61--73.
[4]
G. Borradaile, P. N. Klein, S. Mozes, Y. Nussbaum, and C. Wulff-Nilsen. 2011. Multiple-source multiple-sink maximum flow in directed planar graphs in near-linear time. In Proc. Foundations of Computer Science (FOCS’11). IEEE, Washington, DC, 170--179.
[5]
Sabine Cornelsen and Andreas Karrenbauer. 2012. Accelerated bend minimization. In Graph Drawing (GD’11) (LNCS), Vol. 7034. Springer, Berlin, 111--122.
[6]
G. Di Battista, G. Liotta, and F. Vargiu. 1998. Spirality and optimal orthogonal drawings. SIAM J. Comput. 27, 6 (1998), 1764--1811.
[7]
G. Di Battista and R. Tamassia. 1996a. On-line maintenance of triconnected components with SPQR-trees. Algorithmica 15, 4 (1996), 302--318.
[8]
G. Di Battista and R. Tamassia. 1996b. On-line planarity testing. SIAM J. Comput. 25, 5 (1996), 956--997.
[9]
Jack Edmonds and Richard M. Karp. 1972. Theoretical improvements in algorithmic efficiency for network flow problems. J. ACM 19, 2 (1972), 248--264.
[10]
Ulrich Fößmeier and Michael Kaufmann. 1995. Drawing high degree graphs with low bend numbers. In Graph Drawing (GD’95) (LNCS). Springer, Berlin, 254--266.
[11]
Ashim Garg and Roberto Tamassia. 2001. On the computational complexity of upward and rectilinear planarity testing. SIAM J. Comput. 31, 2 (2001), 601--625.
[12]
Carsten Gutwenger and Petra Mutzel. 2001. A linear time implementation of SPQR-trees. In Graph Drawing (GD’00) (LNCS), Vol. 1984. Springer, Berlin, 77--90.
[13]
Monika Rauch Henzinger, Philip N. Klein, Satish Rao, and Sairam Subramanian. 1997. Faster shortest-path algorithms for planar graphs. J. Comput. Syst. Sci. 55, 1 (1997), 3--23.
[14]
Gunnar W. Klau and Petra Mutzel. 1998. Quasi-Orthogonal Drawing of Planar Graphs. Technical Report. Max-Planck-Institut für Informatik, Saarbrücken, Germany.
[15]
Aurora Morgana, Célia Picinin de Mello, and Giovanna Sontacchi. 2004. An algorithm for 1-bend embeddings of plane graphs in the two-dimensional grid. Discr. Appl. Math. 141, 1--3 (2004), 225--241.
[16]
James B. Orlin. 1993. A faster strongly polynomial minimum cost flow algorithm. Oper. Res. 41 (1993), 338--350. Issue 2.
[17]
Ignaz Rutter. 2011. The Many Faces of Planarity—Matching, Augmentation, and Embedding Algorithms for Planar Graphs. Ph.D. Dissertation. Fakultät für Informatik, Karlsruher Institut für Technologie (KIT).
[18]
Roberto Tamassia. 1987. On embedding a graph in the grid with the minimum number of bends. SIAM J. Comput. 16, 3 (1987), 421--444.
[19]
R. Tamassia, G. Di Battista, and C. Batini. 1988. Automatic graph drawing and readability of diagrams. IEEE Trans. Syst. Man Cybern. 18, 1 (1988), 61--79.
[20]
Satoshi Tayu, Kumiko Nomura, and Shuichi Ueno. 2009. On the two-dimensional orthogonal drawing of series-parallel graphs. Discr. Appl. Math. 157, 8 (2009), 1885--1895.
[21]
Hassler Whitney. 1932. Non-separable and planar graphs. Trans. Am. Math. Soc. 34, 2 (April 1932), 339--338.

Cited By

View all

Recommendations

Comments

Information & Contributors

Information

Published In

cover image ACM Transactions on Algorithms
ACM Transactions on Algorithms  Volume 12, Issue 3
June 2016
408 pages
ISSN:1549-6325
EISSN:1549-6333
DOI:10.1145/2930058
Issue’s Table of Contents
Permission to make digital or hard copies of all or part of this work for personal or classroom use is granted without fee provided that copies are not made or distributed for profit or commercial advantage and that copies bear this notice and the full citation on the first page. Copyrights for components of this work owned by others than ACM must be honored. Abstracting with credit is permitted. To copy otherwise, or republish, to post on servers or to redistribute to lists, requires prior specific permission and/or a fee. Request permissions from [email protected]

Publisher

Association for Computing Machinery

New York, NY, United States

Publication History

Published: 25 April 2016
Accepted: 01 October 2015
Revised: 01 September 2015
Received: 01 August 2013
Published in TALG Volume 12, Issue 3

Permissions

Request permissions for this article.

Check for updates

Author Tags

  1. Orthogonal graph drawing
  2. efficient algorithm
  3. planar embedding

Qualifiers

  • Research-article
  • Research
  • Refereed

Funding Sources

  • GRADR-EUROGIGA

Contributors

Other Metrics

Bibliometrics & Citations

Bibliometrics

Article Metrics

  • Downloads (Last 12 months)5
  • Downloads (Last 6 weeks)0
Reflects downloads up to 15 Oct 2024

Other Metrics

Citations

Cited By

View all

View Options

Get Access

Login options

Full Access

View options

PDF

View or Download as a PDF file.

PDF

eReader

View online with eReader.

eReader

Media

Figures

Other

Tables

Share

Share

Share this Publication link

Share on social media