[Paper Review] Optimal Morphs of Planar Orthogonal Drawings
This paper presents an optimal algorithm for morphing between two planar orthogonal drawings of a connected graph using only O(n) linear morphs while preserving planarity, orthogonality, and linear complexity throughout. The method unifies the drawings by adding virtual bends, uses wires to track topological structure, and leverages spirality differences between wires in the source and target drawings to guide a sequence of O(n) linear morphs that maintain planarity and orthogonality.
We describe an algorithm that morphs between two planar orthogonal drawings $Γ_I$ and $Γ_O$ of a connected graph $G$, while preserving planarity and orthogonality. Necessarily $Γ_I$ and $Γ_O$ share the same combinatorial embedding. Our morph uses a linear number of linear morphs (linear interpolations between two drawings) and preserves linear complexity throughout the process, thereby answering an open question from Biedl et al. Our algorithm first unifies the two drawings to ensure an equal number of (virtual) bends on each edge. We then interpret bends as vertices which form obstacles for so-called wires: horizontal and vertical lines separating the vertices of $Γ_O$. We can find corresponding wires in $Γ_I$ that share topological properties with the wires in $Γ_O$. The structural difference between the two drawings can be captured by the spirality of the wires in $Γ_I$, which guides our morph from $Γ_I$ to $Γ_O$.
Motivation & Objective
- To address the open problem of achieving an optimal morph between two planar orthogonal drawings of a connected graph.
- To maintain planarity, orthogonality, and linear complexity throughout the morphing process.
- To reduce the number of linear morphs from O(n²) to O(n), matching the known lower bound for such morphs.
- To provide a constructive algorithm that is both efficient and visually coherent for graph visualization applications.
Proposed method
- Unify the input drawings by adding virtual bends to ensure each edge has the same number of bends in both drawings.
- Treat bends as vertices in a unified graph to transform the problem into morphing between two orthogonal straight-line drawings.
- Define wires as horizontal and vertical lines separating vertices, which capture topological order and form homotopy classes.
- Use orthogonal shortest and lowest paths to map wires from the source drawing to the target, preserving topological structure.
- Track spirality differences between corresponding wires in the source and target to guide the morphing sequence.
- Apply zigzag-removing slides and offsetting techniques to simplify edge bends in bulk using O(1) morphs per iteration, ensuring linear complexity is preserved.
Experimental results
Research questions
- RQ1Can a morph between two planar orthogonal drawings be achieved using only O(n) linear morphs while preserving planarity and linear complexity?
- RQ2How can structural differences between two orthogonal drawings be captured and exploited for efficient morphing?
- RQ3What role does spirality play in enabling a minimal and planarity-preserving morphing sequence?
- RQ4Is it possible to maintain linear complexity during morphing by simplifying edge bends incrementally and in bulk?
- RQ5Can the morphing process be decomposed into a sequence of O(n) linear morphs that are visually coherent and topologically consistent?
Key findings
- The proposed algorithm achieves a morph between two planar orthogonal drawings using only O(n) linear morphs, which is optimal as Ω(n) morphs are required in the worst case.
- The method maintains linear complexity throughout the morph by unifying edge bends and simplifying redundant bends via bulk operations using O(1) morphs per iteration.
- Spirality of wires in the source drawing relative to the target captures the structural difference and guides the morphing sequence effectively.
- The algorithm preserves planarity and orthogonality at every step by using topologically consistent wire mappings and zigzag-removing transformations.
- The approach is extendable to disconnected graphs, yielding an O(n^1.5) morphing algorithm, which improves upon the O(n²) bound from prior work.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.