Generation of UML package diagrams based on an attribute graph grammar
In order to analyze the syntax of program diagrams, the relationships between each of the elements must also be described. Graph grammars provide a formal method that enables rigorous definition of mechanisms for generating and analyzing graphs. We propose a framework for specifying UML package diagrams using a graph grammar, and a syntax-directed editor. We also propose methods of calculating coordinates and generating SVG files based on attribute evaluation.
uml package diagram graph grammar svg