Example of a communication diagram

The following example of a communication diagram was created from the Display Balance - Basic Flow interaction in the Analysis Model of the PiggyBank sequence diagram sample. The full sample is available in the Samples Gallery.

There are four participants in the interaction between the customers and the online banking system: Customer, MenuForm, DisplayBalanceForm, and Account. Each participant is represented by a lifeline in the interaction frame.

Each action that occurs between the lifelines is represented by a message and the messages are in a specific, numbered sequence.

Related concepts
Sequence diagrams
Communication diagrams
Related tasks
Modeling the interactions between objects in UML
Modeling the flow of messages between objects in an interaction in UML
Populating communication diagrams

Feedback