The Bottle Factory

The whole AGG graph transformation system for this model transformation can be downloaded from here (AGG Version 1.4.1 or higher is required). Note, that this grammar differs from the graph transfomraiton system for the state machine meta model only in the start graph that is the meta model as AGG graph.

The result is the graph grammar ruleSetBF.ggx which represents an instance-generating graph grammar. Converting this grammar results in the instance generating graph grammar that can be downloaded from here.


Fig. 42: Example metamodel for the bottle factory


Fig. 43: Instance-generating graph grammar for the bottle factory

The Company Meta Model

The whole AGG graph transformation system for this model transformation can be downloaded from here (AGG Version 1.4.1 or higher is required). Note, that this grammar differs from the graph transfomraiton system for the state machine meta model only in the start graph that is the meta model as AGG graph.

The result is the graph grammar ruleSetCP.ggx which represents an instance-generating graph grammar. Converting this grammar results in the instance generating graph grammar that can be downloaded from here.


Fig. 44: Example metamodel for the company meta model


Fig. 45: Instance-generating graph grammar for the company meta model