State machine (ASCII)
Idle → Loading → Ready loop, with an error branch. Reads as nicely in a code review as it does on a slide.
Rendering…
What this template contains
- Source
- 6 lines
Make it your own.
+------+ start +---------+ data +-------+
| Idle | ---------> | Loading | --------> | Ready |
+------+ +---------+ +-------+
^ |
| error |
+--------------------+