UmlSequenceParticipantModel

9 Jul 20261 minute to read

Interface for a class UmlSequenceParticipant

Properties

activationBoxes UmlSequenceActivationBoxModel[]

The activation boxes (focus-of-control rectangles) drawn on this participant’s lifeline.
Each entry defines a time range during which the participant is actively processing a message.

content string

The display label shown in the participant’s header box.
Corresponds to the as <content> clause in Mermaid syntax.
When omitted, the id value is used as the display label.

id string|number

A unique identifier for this participant.
Used to reference this participant from messages, activation boxes, and fragments.
Must be unique within the diagram.

isActor boolean

Indicates whether this participant is rendered as a stick-figure actor.

showDestructionMarker boolean

Specifies whether to show a destruction marker (X) at the end of the participant’s lifeline.
When true, a destruction marker (×) is rendered at the bottom of this lifeline,
indicating the participant is terminated during the sequence.

stereotype UmlSequenceParticipantStereotype

The visual stereotype that determines how this participant is rendered.
When specified, this property takes precedence over the legacy isActor
property. To render a participant as an actor, use
UmlSequenceParticipantStereotype.Actor instead of setting isActor to true.

If this property is not set, rendering falls back to isActor. If neither
stereotype nor isActor is set, the participant is rendered as a standard
rectangular lifeline header.