Skip to main content
Log in

Three Rules Suffice for Good Label Placement

  • Published:
Algorithmica Aims and scope Submit manuscript

Abstract.

The general label-placement problem consists in labeling a set of features (points, lines, regions) given a set of candidates (rectangles, circles, ellipses, irregularly shaped labels) for each feature. The problem arises when annotating classical cartographical maps, diagrams, or graph drawings. The size of a labeling is the number of features that receive pairwise nonintersecting candidates. Finding an optimal solution, i.e., a labeling of maximum size, is NP-hard.

We present an approach to attack the problem in its full generality. The key idea is to separate the geometric part from the combinatorial part of the problem. The latter is captured by the conflict graph of the candidates. We present a set of rules that simplify the conflict graph without reducing the size of an optimal solution. Combining the application of these rules with a simple heuristic yields near-optimal solutions.

We study competing algorithms and do a thorough empirical comparison on point-labeling data. The new algorithm we suggest is fast, simple, and effective.

This is a preview of subscription content, log in via an institution to check access.

Access this article

Subscribe and save

Springer+ Basic
$34.99 /Month
  • Get 10 units per month
  • Download Article/Chapter or eBook
  • 1 Unit = 1 Article or 1 Chapter
  • Cancel anytime
Subscribe now

Buy Now

Price excludes VAT (USA)
Tax calculation will be finalised during checkout.

Instant access to the full article PDF.

Similar content being viewed by others

Author information

Authors and Affiliations

Authors

Additional information

Received December 21, 1998; revised October 13, 1999.

Rights and permissions

Reprints and permissions

About this article

Cite this article

Wagner, F., Wolff, A., Kapoor, V. et al. Three Rules Suffice for Good Label Placement. Algorithmica 30, 334–349 (2001). https://doi.org/10.1007/s00453-001-0009-7

Download citation

  • Published:

  • Issue Date:

  • DOI: https://doi.org/10.1007/s00453-001-0009-7