UML state diagrams with draw.io

State diagrams quickly show which states lead to each other, and what triggers a change of state. They are easy to create with draw.io and its built-in UML shape library.