Block diagram generation and parsing based on graph grammar

A block diagram is a graphical model with which it is possible to concisely visualize a system structure and is widely used in control engineering and other fields. However, there are few studies that try to formulate a syntax of block diagrams. In this research, we define a block diagram grammar which generates block diagrams by means of subgraph rewriting of a graph grammar. It includes some context-sensitive productions and is very concise. We have also developed a parser based on this block diagram grammar that parses a diagram in a bottom-up parallel method. It decides whether a diagram is valid for the grammar or not, and returns a production instance sequence for a valid diagram.

[1]  Andy Schürr,et al.  A graph grammar approach to graphical parsing , 1995, Proceedings of Symposium on Visual Languages.

[2]  Takeo Yaku,et al.  A Syntax - directed Hichart Editor Based on an Attribute Graph Grammar , 1995 .

[3]  Takeo Yaku,et al.  Hierarchical program diagram editor based on attribute graph grammar , 1996, Proceedings of 20th International Computer Software and Applications Conference: COMPSAC '96.

[4]  Yasuura Hiroto,et al.  Design Comparision of Hardware Description Languages in RT Level , 1995 .

[5]  Carlo Ghezzi,et al.  Context-Free Graph Grammars , 1978, Inf. Control..

[6]  Joost Engelfriet,et al.  Regular Description of Context-Free Graph Languages , 1996, J. Comput. Syst. Sci..