Link

A Link in a Communication Diagram represents a connection or association between objects or actors. It provides the pathway for messages to be sent between participants in the interaction.

With Links in Modeldraw's Communication Diagram, you can:

  • Show relationships between objects and/or actors in your system

  • Provide paths for messages to be sent between participants

  • Represent bidirectional communication with messages and reverse messages

  • Illustrate the structure of interactions in your system

  • Add sequence numbers and guards to messages for more detailed interactions

A Communication Diagram representing the withdrawal of money from an ATM

A Link in Modeldraw's Communication Diagram tool is represented by a line connecting two participants (objects or actors). Key points to understand about Links include:

  • Links show that two participants can communicate or are associated.

  • Links can have one or more messages attached to them.

  • Links support both messages and reverse messages.

  • Each message on a link can have a sequence number.

  • Messages can include guards to show conditional interactions.

  • Message details can be edited through a properties dialog.

To create and use a Link in Modeldraw's Communication Diagram:

  1. Select the Link tool from the toolbox.

  2. Click on the first participant (object or actor) you want to connect.

  3. Move your mouse over the second participant you want to connect

  4. Click the second participant to create the link.

  5. To add a message or a reverse message to the link double-click on the link to open the properties dialog, in the dialog, you can add or edit messages and reverse messages.

Remember that links should represent meaningful connections between participants in your system, and messages should accurately reflect the interactions that occur along these connections.

Last updated