Saved in:
Bibliographic Details
Main Authors: Andreola, Giordano, Caroppo, Susanna, Di Battista, Giuseppe, Grosso, Fabrizio, Patrignani, Maurizio, Strippoli, Allegra
Format: Preprint
Published: 2025
Subjects:
Online Access:https://arxiv.org/abs/2508.19416
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1866916920599511040
author Andreola, Giordano
Caroppo, Susanna
Di Battista, Giuseppe
Grosso, Fabrizio
Patrignani, Maurizio
Strippoli, Allegra
author_facet Andreola, Giordano
Caroppo, Susanna
Di Battista, Giuseppe
Grosso, Fabrizio
Patrignani, Maurizio
Strippoli, Allegra
contents Several algorithms for the construction of orthogonal drawings of graphs, including those based on the Topology-Shape-Metrics (TSM) paradigm, tend to prioritize the minimization of crossings. This emphasis has two notable side effects: some edges are drawn with unnecessarily long sequences of segments and bends, and the overall drawing area may become excessively large. As a result, the produced drawings often lack geometric uniformity. Moreover, orthogonal crossings are known to have a limited impact on readability, suggesting that crossing minimization may not always be the optimal goal. In this paper, we introduce a methodology that 'subverts' the traditional TSM pipeline by focusing on minimizing bends. Given a graph $G$, we ideally seek to construct a rectilinear drawing of $G$, that is, an orthogonal drawing with no bends. When not possible, we incrementally subdivide the edges of $G$ by introducing dummy vertices that will (possibly) correspond to bends in the final drawing. This process continues until a rectilinear drawing of a subdivision of the graph is found, after which the final coordinates are computed. We tackle the (NP-complete) rectilinear drawability problem by encoding it as a SAT formula and solving it with state-of-the-art SAT solvers. If the SAT formula is unsatisfiable, we use the solver's proof to determine which edge to subdivide. Our implementation, DOMUS, which is fairly simple, is evaluated through extensive experiments on small- to medium-sized graphs. The results show that it consistently outperforms OGDF's TSM-based approach across most standard graph drawing metrics.
format Preprint
id arxiv_https___arxiv_org_abs_2508_19416
institution arXiv
publishDate 2025
record_format arxiv
spellingShingle A Walk on the Wild Side: a Shape-First Methodology for Orthogonal Drawings
Andreola, Giordano
Caroppo, Susanna
Di Battista, Giuseppe
Grosso, Fabrizio
Patrignani, Maurizio
Strippoli, Allegra
Computational Geometry
Several algorithms for the construction of orthogonal drawings of graphs, including those based on the Topology-Shape-Metrics (TSM) paradigm, tend to prioritize the minimization of crossings. This emphasis has two notable side effects: some edges are drawn with unnecessarily long sequences of segments and bends, and the overall drawing area may become excessively large. As a result, the produced drawings often lack geometric uniformity. Moreover, orthogonal crossings are known to have a limited impact on readability, suggesting that crossing minimization may not always be the optimal goal. In this paper, we introduce a methodology that 'subverts' the traditional TSM pipeline by focusing on minimizing bends. Given a graph $G$, we ideally seek to construct a rectilinear drawing of $G$, that is, an orthogonal drawing with no bends. When not possible, we incrementally subdivide the edges of $G$ by introducing dummy vertices that will (possibly) correspond to bends in the final drawing. This process continues until a rectilinear drawing of a subdivision of the graph is found, after which the final coordinates are computed. We tackle the (NP-complete) rectilinear drawability problem by encoding it as a SAT formula and solving it with state-of-the-art SAT solvers. If the SAT formula is unsatisfiable, we use the solver's proof to determine which edge to subdivide. Our implementation, DOMUS, which is fairly simple, is evaluated through extensive experiments on small- to medium-sized graphs. The results show that it consistently outperforms OGDF's TSM-based approach across most standard graph drawing metrics.
title A Walk on the Wild Side: a Shape-First Methodology for Orthogonal Drawings
topic Computational Geometry
url https://arxiv.org/abs/2508.19416