Skip to main content

Interface: SequenceDiagramOptions

Configuration options for the SequenceDiagram coordinator.

Properties​

PropertyTypeDescription
gapY?numberVertical spacing between message rows in stage units (default: 8).
lifelineColor?stringStroke color of participant lifelines (default: "rgba(148, 163, 184, 0.7)").
lifelineLength?numberMinimum length of participant lifelines in stage units (default: 42). Automatically extends to fit messages and activations.
lifelineOpacity?numberInitial opacity of participant lifelines (default: 1). Set to 0 if animating lifelines in.
paddingBottom?numberPadding in stage units below the lowest message or activation (default: 4).
participants?DOMElement[]Initial actor elements to register as diagram participants.
startY?numberVertical start position for the first message in stage units (default: 32).