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 used UML interaction diagram notationsequence and communication diagrams.
Introduction
The UML includes interaction diagrams to illustrate how objects interact via messages. They are used for dynamic object modeling. There are two common types: sequence and communication interaction diagrams. This chapter introduces the notationview it as a reference to skim throughwhile subsequent chapters focus on a more important question: What are key principles in OO design?
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.