30 lines
768 B
Markdown
30 lines
768 B
Markdown
#Creating a Transition
|
|
|
|
States can be connected through transitions, which determines the order in which the states are run.
|
|
|
|
To create a transition:
|
|
|
|
1. Right-click the source state and select **Make Transition**.
|
|
|
|
2. Do one of the following:
|
|
|
|
- Click on the destination state.
|
|
|
|
![](images/vs-make-transition-click-destination-state.png)
|
|
|
|
|
|
|
|
- End the transition at an empty space in the graph to create a new state automatically.
|
|
|
|
![](images/vs-make-transition-end-on-empty-space.png)
|
|
|
|
![](images/vs-make-transition-arrow-to-empty-space.png)
|
|
|
|
- **Ctr-click** (or **Cmd-click** on Mac) on the source node and drag to create a transition.
|
|
|
|
![](images/vs-make-transition-ctrl-click-on-destination.png)
|
|
|
|
3.
|
|
|
|
|