UmlSequenceParticipant

23 Sep 20251 minute to read

Represents a participant (lifeline) in the UML sequence diagram.
A participant can be an actor or object involved in message exchanges.

Properties

activationBoxes UmlSequenceActivationBoxModel[]

A list of activation boxes for this participant.
Activation boxes represent the time periods during which a participant is active
(e.g., executing a method or processing a message).

activationBoxes: [
    { id: 'act1', startMessageID: 'MSG1', endMessageID: 'MSG3' }
]

Defaults to []

content string

The display content of the participant (e.g., class name or actor label).

Defaults to ’’

id string|number

A unique identifier for the participant.
This ID is used to reference the participant in messages and other diagram elements.

Defaults to undefined

isActor boolean

Indicates whether the participant is an actor.
If true, the participant is rendered using an actor (stick figure) symbol.
If false, the participant is rendered as a rectangle (object lifeline).

Defaults to false

showDestructionMarker boolean

Specifies whether to show a destruction marker (X) at the end of the participant’s lifeline.
When enabled, the participant is considered to be destroyed at the end of the sequence.

Defaults to false