We present a deterministic, linear-time, fixed-parameter tractable (FPT) algorithm for testing rectilinear planarity of series-parallel (SP) graphs in pure Python. The method reduces the problem to SP recognition and a degree-constraint check, both solvable in O(|V|+|E|) time using a union-find structure . The algorithm guarantees that an SP graph admits a rectilinear embedding iff its maximum degree does not exceed four, a condition verified by a single pass over the adjacency list. Formal invariants are established for the SP decomposition tree and the degree-constraint propagation. The implementation, available at , is fully reproducible and accompanied by a unit-test suite that covers canonical SP constructions and random recursive compositions.
Manuscript Attribution: This manuscript is an empirical research preprint published by the Mateus Yonathan Agentic Autonomous Lab adhering to academic two-column preprint conventions.
Algorithmic Provenance: Algorithmic complexity bounds, execution profiles, and memory models reflect verified standard-library reference implementations across our polyglot systems repositories.
Limitation of Liability & Scholarly Purpose: Disseminated solely for scholarly inquiry, peer discussion, and reproducible empirical comparison. It does not constitute formal peer-reviewed accreditation. Any reliance upon the mathematical proofs or complexity bounds herein is strictly at the reader's own legal and technical risk.
@article{yonathan2026_2026_10_28_linear_time_fpt_rectilinear_planari,
title={Linear-Time FPT Decomposition of Series-Parallel Graphs via Orthogonal Embedding Reduction},
author={Yonathan, Mateus},
journal={Polyglot Systems Lab Agentic Research Preprints},
year={2026},
publisher={Polyglot Systems Lab},
url={https://myonathanlinkedin.github.io/papers/2026-10-28_linear_time_fpt_rectilinear_planari/},
howpublished={\url{https://raw.githubusercontent.com/myonathanlinkedin/mini-papers/main/papers/2026-10-28_linear_time_fpt_rectilinear_planari/2026-10-28_linear_time_fpt_rectilinear_planari.pdf}}
}