Choice
A Choice is a node in a state machine; at the node, an in-cycle evaluation of the subsequent guard conditions is done. It has at least one incoming and one outgoing transition. Choice nodes can be positioned top-level in statecharts, in composite states, and in regions. If several choices are connected by transitions, the connection must be designed in a way that no circular connection exists, such as recirculation to a choice that is already the source element of a transition in this chain.
A choice is displayed as a diamond. The circle with the flow-control number indicates the order of processing.
Properties
"Property" | Description |
---|---|
"Identifier" | Here you can enter a name. It is not displayed in the state diagram. |
Edit choice
User input in the state diagram | Response in the state diagram | Description |
---|---|---|
Focus on a choice. |
| The choice is editable.
|
Click on the green symbol |
| An outgoing transition is created. If you click on an existing state, it becomes the target state of the transition. Click in an empty area to create a new state. |