Block Diagram Grammar and Structure Recognition Based on Graph Rewriting

A block diagram grammar is presented that is a formal model generating block diagrams. It is formalized as a context-sensitive graph grammar with subgraph rewriting based on subgraph isomorphism. We implement a block diagram parser that decides whether a diagram is valid for the block diagram grammar in a bottomup-parallel method, and that returns the production instance sequence for a valid diagram. A function of structure recognition is also implemented into the parser by means of template matching and subgraph rewriting. This enables the parser to find and return the structure information of series connections, parallel connections, feedback connections and so forth, in the parsed diagram.

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

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

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

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

[5]  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.