Abstract
As a two-dimensional formal method, graph grammar is widely used in defining various visual programming languages. This paper presents a new graph grammar formalism called coordinate graph grammar (CGG). CGG is extended from the edge based graph grammar (EGG) by introducing the spatial mechanism into the theoretical framework. This paper focuses on several important issues on the new formalism. First, formal definitions for spatial semantic is given; Second, a new matching algorithm is proposed, which uses the spatial relationships between nodes to narrow down the search space. Finally, an application of CGG is put forward, which generates an UML class diagram in a uniform layout.
| Original language | English |
|---|---|
| Title of host publication | Proceedings of the 3rd International Workshop on Interactive and Spatial Computing, IWISC 2018 |
| Publisher | Association for Computing Machinery |
| Pages | 1-7 |
| Number of pages | 7 |
| ISBN (Electronic) | 9781450354394 |
| DOIs | |
| Publication status | Published - 12 Apr 2018 |
| Externally published | Yes |
| Event | 3rd International Workshop on Interactive and Spatial Computing, IWISC 2018 - Richardson, United States Duration: 12 Apr 2018 → 13 Apr 2018 |
Publication series
| Name | ACM International Conference Proceeding Series |
|---|
Conference
| Conference | 3rd International Workshop on Interactive and Spatial Computing, IWISC 2018 |
|---|---|
| Country/Territory | United States |
| City | Richardson |
| Period | 12/04/18 → 13/04/18 |
Bibliographical note
Publisher Copyright:© 2018 Association for Computing Machinery.
Keywords
- Graph grammar
- Parsing
- Spatial semantic
- Spatial specification