arXiv · 1509.00818
Confluent Orthogonal Drawings of Syntax Diagrams
Abstract
We provide a pipeline for generating syntax diagrams (also called railroad diagrams) from context free grammars. Syntax diagrams are a graphical representation of a context free language, which we formalize abstractly as a set of mutually recursive nondeterministic finite automata and draw by combining elements from the confluent drawing, layered drawing, and smooth orthogonal drawing styles. Within our pipeline we introduce several heuristics that modify the grammar but preserve the language, improving the aesthetics of the final drawing.
Explore related subjects
Keep this discovery
Explore connections, maps & timelines
Michael J. Bannister, David A. Brown, David Eppstein. 2015-09-02. Confluent Orthogonal Drawings of Syntax Diagrams. https://arxiv.org/abs/1509.00818
Cite the original work for its findings. Save a collection to share your selection of sources.