Animation rules connect the visual model to the NCES so that when the NCES changes states the changes are reflected in the visual model. These help files describe the use of the editor which can be used to define animation rules.
Each rule consists of a set of conditions and actions. The conditions refer to a certain state of the NCES i.e. the markings of places. The actions refer to the shapes in the visual model and dictate how their properties should change.
![]() |
![]() |
In the uppest part of the window you can choose the edited animation rule. In the lower left part there is a pane showing the conditions of the rule. In the lower right part there is a pane showing the actions that should be taken when the conditions are fulfilled. New conditions and actions can be added by clicking on the Add button above the corresponding pane. This will display a new window where you can select the right node to define the rule. This window is shown above on the right. You can click on the nodes to expand them to show the sub nodes. Once you have selected the appropriate node click on the Select button. This will add the node to the actions or conditions. To cancel without adding a new node click on the Cancel button.
The selected node is typically a NCES place if you are adding a new condition and a shape in the visual model if you are specifying a new action. However any other kinds of rules are also allowed.A new Rule can be created by clicking on the Add button in the upper part of the window. To delete a rule select it and then press the Delete button which is located next to the Add button.
The new rules will automatically be named 'RuleM' where M is a nonnegative integer so that the name is not already used by another rule. Later the name can be changed.