Layers with Trigger Rule

In  AGG,  we can define layered graph grammars. Each layer can contain one or more rules.

For each layer one rule may be determined as trigger for this layer. The so-called trigger rule is applied as first and only once, all other rules are applied as long as possible.
If the trigger rule is not applicable, the corresponding layer is not executed at all.

In  AGGtrigger rules  can be set in the table  "Set Trigger Rule for Layer"  using check box "Trigger". Each layer has at most one trigger rule.

In the gragra tree view,  trigger rules  are collored in red.

Trigger rule  settings will be saved and loaded with the layered graph grammar.

Please note: It is allowed to change layers of rules. Selecting or changing layers can effect also the trigger selections. So after changing a rule layer, the user needs to check the trigger definition and possibly reset it again.