A universal O(n)-size candidate set for infinite-grid ℓp matching yields a randomized exact ĕO(n)-time algorithm for the rectilinear case via sparse min-cost flow.
Snapping Graph Drawings to the Grid Optimally
1 Pith paper cite this work, alongside 250 external citations. Polarity classification is still indexing.
abstract
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).
fields
cs.CG 1years
2026 1verdicts
ACCEPT 1representative citing papers
citing papers explorer
-
Rectilinear Matching to the Integer Grid in Nearly-Linear Time
A universal O(n)-size candidate set for infinite-grid ℓp matching yields a randomized exact ĕO(n)-time algorithm for the rectilinear case via sparse min-cost flow.