How to draw a communication diagram in UML
UML encompasses a wide range of diagrams and notation styles, so it may be helpful to revisit the basics. This page can help you understand what a communication diagram is, and this Unified Modeling Language tutorial explains essential concepts of UML. The symbols found in communication diagrams are the same symbols used in sequence diagrams.
In order to successfully create a communication diagram in UML, itâs imperative that you understand the difference between communication and sequence diagrams. Sequence diagrams chart the timing and order in which messages are sent and received within a sequence. In contrast, communication diagrams focus on the interactions and relationships between objectsâhence the name. Both diagrams can be retrofitted to fit the other's structure because the information displayed is so similar.
1. Get started with Lucidchart
If you havenât registered with Lucidchart, you can sign up for free. Log in and select a template or open a new document. You also have the option to import existing diagrams from Visio and build off the work you already started.
2. Add or import UML shapes
Once youâve opened a new document in Lucidchart, click âShapesâ on the left side of the editor and turn on the UML shape library, specifically the sequence diagram shapes since communication diagrams use the exact same notations. Adding shapes to the canvas is as easy as dragging and dropping.
Manyâthough not allâcommunication diagrams include the swimlane shape. Swimlanes merely separate the system into more manageable chunks, such as distinct areas for each participant. Swimlane shapes can be found in the containers shape library. If you select a swimlane, double-click the header text to replace it with your own title. Use the toolbar above the canvas to add extra rows or columns.
If you don't want to use swimlanes, it's acceptable to arrange elements in a free-form way. You will probably drag out object shapes, actor shapes that represent participants in the system, and lines (known as links) that represent relationships.
3. Add texts and concepts to your communication diagram
Next to the lines, you can draw arrows to indicate messages. Messages should be labeled with a name and sequence number. The sequence number shows the reader how to move from object to object and message to message, i.e. where the diagram begins and ends.
How to format communication diagrams
Once all of your elements are represented and linked together, take a final look over the document and perform some final formatting. You can select groups of shapes and arrange them to better order and align them evenly. You can also select a pre-made theme from the right sidebar to color your shapes.
4. Publish, implement, and share
Once youâve created a professional communication diagram in Lucidchart, you can then share and publish it in a variety of ways. Download your communication diagram in any file format, share it on your favorite social media platforms, or publish it on one of the many apps Lucidchart integrates with, including Google Workspace, Microsoft Office, Confluence, and Jira. Click to see all Lucidchart integrations and add diagrams almost anywhere.