UmlSequenceMessage

23 Sep 20251 minute to read

Represents a message (interaction) between two participants in a UML sequence diagram.
Messages define the communication flow, such as method calls or replies, between lifelines.

Properties

content string

Defines the text content or label displayed for the message in the sequence diagram.
This typically represents a operation name, or descriptive response.

Defaults to ’’

fromParticipantID string|number

The ID of the participant that sends the message.
This should match the id of a participant defined in the model.

Defaults to undefined

id string|number

A unique identifier for the message.

Defaults to undefined

toParticipantID string|number

The ID of the participant that receives the message.
This should match the id of a participant defined in the model.

Defaults to undefined

type UmlSequenceMessageType

Specifies the type of the message, such as synchronous, asynchronous, reply, etc.
Determines how the message line is styled and interpreted in the diagram.

Defaults to UmlSequenceMessageType.Synchronous