UML Interaction Diagrams
Cats are smarter than dogs. You can't get eight cats to pull a sled through snow.
—Jeff Valdez
Objectives
Provide a reference for frequently usedUMLinteraction diagram notation—sequence and communication diagrams.
Introduction
TheUMLincludesinteraction diagramsto illustrate how objects interact via messages. They are used fordynamic object modeling. There are two common types: sequence and communication interaction diagrams. This chapter introduces the notation—view it as areferenceto skim through—while subsequent chapters focus on a more important question: What are key principles inOOdesign?
In the following chapters, interaction diagrams are applied to help explain and demonstrate object design. Hence, it's useful to at least skim these examples before moving on.