Creative Commons Attribution 4.0 International license
An embedding of a graph is k-planar if every edge has at most k crossings. The 2026 Graph Drawing Challenge gave a one-hour time window to create minimal k-planar straight-line embeddings for 15 graphs. I present the winning approach. Initial layouts come from several construction heuristics and are then optimized by a tuned local search or by simulated annealing. Both heuristics move one node at a time, so the rate at which candidate moves can be evaluated is crucial for performance. A uniform lookup grid restricts the computation of each node movement to the edges it can affect, and the evaluation aborts as soon as the move is known to fail. Together these two optimizations reach hundreds of thousands of proposals per second on all competition instances. That was enough to run every instance more than 20 times within the time limit, which let me take or tie the best score on all 15 graphs.
@InProceedings{weber:LIPIcs.GD.2026.40,
author = {Weber, Christoph},
title = {{Optimizing k-Planarity}},
booktitle = {34th International Symposium on Graph Drawing and Network Visualization (GD 2026)},
pages = {40:1--40:5},
series = {Leibniz International Proceedings in Informatics (LIPIcs)},
ISBN = {978-3-95977-452-9},
ISSN = {1868-8969},
year = {2026},
volume = {396},
editor = {L\"{o}ffler, Maarten and Miksch, Silvia},
publisher = {Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
address = {Dagstuhl, Germany},
URL = {https://drops.dagstuhl.de/entities/document/10.4230/LIPIcs.GD.2026.40},
URN = {urn:nbn:de:0030-drops-279354},
doi = {10.4230/LIPIcs.GD.2026.40},
annote = {Keywords: k-planarity, crossing minimization, local search, simulated annealing}
}
archived version