Adding ports and events to a sequence diagram

When you create a message you have the option to specify a port or not to specify a port. You can specify the port to provide more detail to the sequence diagram.

Before you begin

You must have a capsule based lifeline and message with an unspecified port created.

About this task

To add a specified port or event to a message and lifeline:

Procedure

  1. In the interaction frame, double-click the message with the unspecified port.
  2. In the window, select Create Event or select an existing event in the window if an event has not been specified for the message.
  3. In the Edit Message window, select the unspecified port and click the ... button.
  4. In the Edit Port Name window, type a name for the port.
  5. Deselect Unspecified and click OK.

Results

The unspecified port is now displayed with the event name specified.

Feedback