A communication diagram visually represents the message flow between objects in an application We will first show an example of a communication diagram and then break it down into its individual parts. The notation here uses the same notation as the sequence diagram showing the consistency in UML notation.
Communication Diagram Example
In this example, we are showing the communication diagram that we were first introduced to in the sequence diagram. We not that some actions are happening concurrently because of the use of letters.
Communication Diagram Notation
- The rectangles represent objects that are needed to make up the application.
- The lines between class instances represent the relationships between different parts of the application.
- The arrows represent the messages that are sent between objects.
- The numbering lets you know in what order the messages are being sent and how many messages are need to finish a process.
Start your free 14-day Lucidchart Team trial here. No download or credit card required.