To create a self-transition:
- Draw a transition from the state or activity element and drag the link away from the element.
- Drag the link back to the element and drop it.
- Draw a transition between two activities (or states).
- Drag the opposite end of the link line back to the desired activity (or state).