Example What is the state diagram?