arXiv · 2611.35511
Learning Where to Start: Flow-Matching for Graph Layout Crossing Minimization
Abstract
Edge crossings are among the layout properties that most affect how well people read node-link diagrams, but computing low-crossing layouts is difficult. Unlike other layout properties such as stress or spring-electrical energy, the number of edge crossings is not differentiable. Differentiable surrogates have been proposed and combined with gradient descent to improve layouts, but they are local methods: the layouts they find depend on where they start. The usual starting points, e.g., low-stress layouts, are not diverse. In this work, we propose the generative flow-matching model XFlow to learn a more diverse and effective set of starting layouts. First, we show that XFlow can learn to generate layouts with low stress and low spring-electrical energy, even on large and out-of-domain graphs. We then show that learning to obtain layouts with few crossings is harder, but with consistent anchored targets and expert iteration on the model's own refined samples, XFlow excels at this task: it outperforms state-of-the-art methods for crossing minimization and scales to graphs with thousands of nodes.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Yifan Hu, Timo Brand, Xuefeng Li, Jacob Miller, Stephen Kobourov. 2026-11-26. Learning Where to Start: Flow-Matching for Graph Layout Crossing Minimization. https://arxiv.science/abs/2611.35511
Citations retain the original authors and DOI and include this site’s record URL. If this discovery service contributed to your research, you can also cite arXiv Science by Indiciae: BibTeX · RIS.