Snapping Graph Drawings to the Grid Optimally

Löffler, Andre and van Dijk, Thomas C. and Wolff, Alexander (2016) Snapping Graph Drawings to the Grid Optimally. In: Graph Drawing and Network Visualization. GD 2016, September, 19. - 21., 2016 , pp. 144-151(Official URL:

Full text not available from this repository.


In geographic information systems and in the production of digital maps for small devices with restricted computational resources one often wants to round coordinates to a rougher grid. This removes unnecessary detail and reduces space consumption as well as computation time. This process is called snapping to the grid and has been investigated thoroughly from a computational-geometry perspective. In this paper we investigate the same problem for given drawings of planar graphs under the restriction that their combinatorial embedding must be kept and edges are drawn straight-line. We show that the problem is NP-hard for several objectives and provide an integer linear programming formulation. Given a plane graph G and a positive integer w, our ILP can also be used to draw G straight-line on a grid of width w and minimum height (if possible).

Item Type: Conference Paper
Additional Information: The full version of this paper is available at
Classifications: G Algorithms and Complexity > G.560 Geometry
P Styles > P.540 Planar
P Styles > P.720 Straight-line

Actions (login required)

View Item View Item