Chapter 8. Working with State Diagrams

What You'll Learn in This Hour:

  • What a state diagram is and how to work with it

  • How to work with events, actions, and guard conditions

  • How to model substates, history states, and connection points

At the end of the last hour, I said this hour would cover a category you haven't worked with before. This new category, the behavioral element, shows how parts of a UML model change over time. You'll learn about a particular member of this category, the state diagram.

Each year brings new styles in clothes and cars, seasons change the color of leaves on trees, and passing years see children grow and mature. Without becoming any more like a greeting card, the point is that as time passes and events occur, changes take ...

Get Sams Teach Yourself UML in 24 Hours, Third Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.