Figure 9-6. The modified state diagram for the chest lid and key. These diagrams show the interdependencies and the actions associated with the states, but not the events that trigger the state changes
At some point, you may have realized that the addition of state numbers makes the transition arrows unnecessary and can simplify it even more (preceding Figure 9-6, right).
None of the visuals representations quite cover all the information and functionality you will be dealing with, but they do help to break it down into understandable components parts. At this point, you will probably be relieved to put the state information into a straight text format.