Confluent Orthogonal Drawings of Syntax Diagrams

09/02/2015
by   Michael J. Bannister, et al.
0

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.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
11/29/2022

A Finite Axiomatisation of Finite-State Automata Using String Diagrams

We develop a fully diagrammatic approach to finite-state automata, based...
research
09/30/2020

A String Diagrammatic Axiomatisation of Finite-State Automata

We develop a fully diagrammatic approach to the theory of finite-state a...
research
06/14/2019

Drawing Order Diagrams Through Two-Dimension Extension

Order diagrams are an important tool to visualize the complex structure ...
research
09/04/2023

A Simple Pipeline for Orthogonal Graph Drawing

Orthogonal graph drawing has many applications, e.g., for laying out UML...
research
03/02/2019

DimDraw -- A novel tool for drawing concept lattices

Concept lattice drawings are an important tool to visualize complex rela...
research
10/10/2022

Parameterized Approaches to Orthogonal Compaction

Orthogonal graph drawings are used in applications such as UML diagrams,...
research
01/31/2018

TikZ-FeynHand: Basic User Guide

This is a userguide for the LaTex package Tikz-FeynHand at https://ctan....

Please sign up or login with your details

Forgot password? Click here to reset