Combinations of graph drawing and map labeling problems yield challenging mathematical problems and have direct applications, e.g., in automation engineering. We call graph drawing problems in which subsets of vertices and edges need to be labeled graph labeling problems. Unlike in map labeling where the position of the objects is specified in the input, the coordinates of vertices and edges in a graph labeling problem instance have yet to be determined and thus create additional degrees of freedom. We concentrate on the Compaction and Labeling (COLA) Problem: Given an orthogonal representation-as produced by algorithms within the topology-shape-metrics paradigm-and some label information, the task is to generate a labeled orthogonal embedding with minimum total edge length. We characterize feasible solutions of the COLA problem extending an existing framework for solving pure compaction problems. Based on the graph theoretical characterization, we present a branch-and--cut algorithm which computes optimally labeled orthogonal drawings for given instances of the COLA problem. First computational experiments on a benchmark set of practical instances show that our method is superior to the traditional approach of applying map labeling algorithms to graph drawings. To our knowledge, this is the first algorithm especially designed to solve graph labeling problems.
[1]
Petra Mutzel,et al.
Optimal Compaction of Orthogonal Grid Drawings
,
1999,
IPCO.
[2]
Maurizio Patrignani,et al.
On the complexity of orthogonal compaction
,
1999,
Comput. Geom..
[3]
Ioannis G. Tollis,et al.
An Algorithm for Labeling Edges of Hierarchical Drawings
,
1997,
GD.
[4]
Ioannis G. Tollis,et al.
The Three-Phase Method: A Unified Approach to Orthogonal Graph Drawing
,
1997,
Graph Drawing.
[5]
Ioannis G. Tollis,et al.
Graph Drawing
,
1994,
Lecture Notes in Computer Science.
[6]
Michael Kaufmann,et al.
Drawing High Degree Graphs with Low Bend Numbers
,
1995,
GD.
[7]
Thomas Lengauer,et al.
Combinatorial algorithms for integrated circuit layout
,
1990,
Applicable theory in computer science.
[8]
Petra Mutzel,et al.
Quasi-orthogonal drawing of planar graphs
,
1998
.
[9]
Roberto Tamassia,et al.
On Embedding a Graph in the Grid with the Minimum Number of Bends
,
1987,
SIAM J. Comput..
[10]
Anna Lubiw,et al.
Elastic Labels: the Two-Axis Case
,
1997,
Graph Drawing.
[11]
Michael Kaufmann,et al.
Algorithms and Area Bounds for Nonplanar Orthogonal Drawings
,
1997,
GD.