A mixed-integer program for drawing high-quality metro maps

  • Authors:
  • Martin Nöllenburg;Alexander Wolff

  • Affiliations:
  • Fakultät für Informatik, Universität Karlsruhe, Karlsruhe;Fakultät für Informatik, Universität Karlsruhe, Karlsruhe

  • Venue:
  • GD'05 Proceedings of the 13th international conference on Graph Drawing
  • Year:
  • 2005

Quantified Score

Hi-index 0.00

Visualization

Abstract

In this paper we investigate the problem of drawing metro maps which is defined as follows. Given a planar graph G of maximum degree 8 with its embedding and vertex locations (e.g. the physical location of the tracks and stations of a metro system) and a set ${\mathcal L}$of paths or cycles in G (e.g. metro lines), draw G and ${\mathcal L}$nicely. We first specify the niceness of a drawing by listing a number of hard and soft constraints. Then we present a mixed-integer program (MIP) which always finds a drawing that fulfills all hard constraints (if such a drawing exists) and optimizes a weighted sum of costs corresponding to the soft constraints. We also describe some heuristics that speed up the MIP. We have implemented both the MIP and the heuristics. We compare their output to that of previous algorithms for drawing metro maps and to official metro maps drawn by graphic designers.