Properties of elements on UML sequence diagrams

 

The new home for Visual Studio documentation is Visual Studio 2017 Documentation on docs.microsoft.com.

The latest version of this topic can be found at Properties of elements on UML sequence diagrams.

In a UML sequence diagram, each element on the diagram has properties. To see the properties of an element, right-click the element on the diagram or in UML Model Explorer and then click Properties. The properties appear in the Properties window.

System_CAPS_ICON_note.jpg Note

This topic is about the properties of elements in UML sequence diagrams. For more information about how to read UML sequence diagrams, see UML Sequence Diagrams: Reference. For more information about how to draw UML sequence diagrams, see UML Sequence Diagrams: Guidelines.

PropertyDefaultElementDescription
NameA default nameAllIdentifies the element.
Qualified NamePackage :: NameAllIdentifies the element uniquely. Prefixed with the qualified name of the package that contains it.
Work Items0 associatedAllThe number of work items associated with this element. To associate work items, see Link model elements and work items.
Description(blank)AllYou can make general notes about the item here.
Color(default for element type)Lifeline, MessageThe color of the shape. This is a property of the shape, rather than the element it displays.
Type(blank)LifelineThe type of the instance that the lifeline represents.

If there is a reference symbol displayed in the header of the lifeline, then this class or interface exists separately in UML Model Explorer, and can be displayed on a class diagram.
ActorFalseLifelineIndicates whether the lifeline represents a user, device or software component that is external to the component that the diagram is about.
KindComplete - a message that has both sender and receiver.

 Found - a message that has an unspecified sender.

 Lost - a message that has an unspecified receiver.
MessageIndicates which ends of a message are attached to a lifeline.

You cannot change this property. It is set when you create the message.
SortAsynchCall - an asynchronous message.

 SynchCall - a synchronous message.

 Reply - the return part of a synchronous message.

 CreateMessage - an instance creation message.
MessageThe type of message. You cannot change this property. It is determined by the tool that you use to create the message.
Operation(empty)MessageA method called by the message in the receiving lifeline.

Visible only if the receiving lifeline is linked to an interface or a class.
Refers toA sequence diagramInteraction UseThe sequence diagram called by this interaction use.
Interaction OperatorSet when you used the Surround With commandCombined FragmentThe operator represented by this fragment or collection of fragments.
Guard(empty)Interaction Operand in a Combined FragmentThe sequence in the fragment will not occur unless the guard is true.

To select the top fragment of any combined fragment, click underneath the fragment title.
Min, Max(no restriction)Loop Combined FragmentThe minimum and maximum number of times the loop is executed.
Messages(empty)Consider and

Ignore Combined Fragments
The messages that are considered or ignored in this fragment.

UML Sequence Diagrams: Reference
UML Sequence Diagrams: Guidelines
Describe control flow with fragments on UML sequence diagrams

Show: