Optimal Orthogonal Graph Drawing with Convex Bend Costs

被引:5
作者
Blasius, Thomas [1 ]
Rutter, Ignaz [1 ]
Wagner, Dorothea [1 ]
机构
[1] Karlsruhe Inst Technol, Fac Informat, Fasanengarten 5, D-76131 Karlsruhe, Germany
关键词
Algorithms; Theory; Orthogonal graph drawing; planar embedding; efficient algorithm; PLANAR GRAPHS; ALGORITHM;
D O I
10.1145/2838736
中图分类号
TP301 [理论、方法];
学科分类号
081202 ;
摘要
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 cost(e) : N-0 -> 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 center dot T-flow(n)) and O(n(2) center dot T-flow(n)) for biconnected and connected graphs, respectively, where T-flow(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. Categories and Subject Descriptors: F.2.2 [Analysis of Algorithms and Problem Complexity]: Nonnumerical Algorithms and Problems; G.2.1 [Discrete Mathematics]: Combinatorics; G. 2.2 [Discrete Mathematics]: Graph Theory
引用
收藏
页数:32
相关论文
共 21 条
[1]  
Biedl Therese, 1998, COMP GEOM-THEOR APPL, V9, P159
[2]   Orthogonal Graph Drawing with Inflexible Edges [J].
Blaesius, Thomas ;
Lehmann, Sebastian ;
Rutter, Ignaz .
ALGORITHMS AND COMPLEXITY (CIAC 2015), 2015, 9079 :61-73
[3]   Orthogonal Graph Drawing with Flexibility Constraints [J].
Blaesius, Thomas ;
Krug, Marcus ;
Rutter, Ignaz ;
Wagner, Dorothea .
ALGORITHMICA, 2014, 68 (04) :859-885
[4]   Multiple-Source Multiple-Sink Maximum Flow in Directed Planar Graphs in Near-Linear Time [J].
Borradaile, Glencora ;
Klein, Philip N. ;
Mozes, Shay ;
Nussbaum, Yahav ;
Wulff-Nilsen, Christian .
2011 IEEE 52ND ANNUAL SYMPOSIUM ON FOUNDATIONS OF COMPUTER SCIENCE (FOCS 2011), 2011, :170-179
[5]  
Cornelsen S, 2012, LECT NOTES COMPUT SC, V7034, P111
[6]   Spirality and optimal orthogonal drawings [J].
Di Battista, G ;
Liotta, G ;
Vargiu, F .
SIAM JOURNAL ON COMPUTING, 1998, 27 (06) :1764-1811
[7]   On-line maintenance of triconnected components with SPQR-trees [J].
DiBattista, G ;
Tamassia, R .
ALGORITHMICA, 1996, 15 (04) :302-318
[8]   On-line planarity testing [J].
DiBattista, G ;
Tamassia, R .
SIAM JOURNAL ON COMPUTING, 1996, 25 (05) :956-997
[9]   THEORETICAL IMPROVEMENTS IN ALGORITHMIC EFFICIENCY FOR NETWORK FLOW PROBLEMS [J].
EDMONDS, J ;
KARP, RM .
JOURNAL OF THE ACM, 1972, 19 (02) :248-&
[10]  
Fomeier Ulrich, 1995, LNCS, P254