arXivDaily arXiv每日学术速递 周一至周五更新
arXiv 1509.00818cs.OHcs.FL
收藏

平面图的合流正交图

Confluent Orthogonal Drawings of Syntax Diagrams

Michael J. Bannister, David A. Brown, David Eppstein

摘要:

我们提供了一个从上下文无关文法生成语法图(也称为铁路图)的管道。图是上下文无关语言的图形表示,我们将其形式化抽象为一组相互递归的非确定性有限自动机,并通过组合合流绘图,分层绘图和平滑正交绘图风格的元素来绘制。在我们的管道中,我们引入了几种修改语法但保留语言的语法学,从而提高了最终绘图的美观性。

英文摘要:

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.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑