BasicSequenceDiagramStyle

data class BasicSequenceDiagramStyle(    val participantSpacing: Dp = DefaultParticipantSpacing,     val verticalSpacing: Dp = DefaultVerticalSpacing,     val labelPadding: Dp = DefaultLabelPadding,     val labelTextStyle: TextStyle = DefaultLabelTextStyle,     val notePadding: PaddingValues = DefaultNotePadding,     val noteShape: Shape = DefaultNoteShape,     val noteBackgroundBrush: Brush = DefaultNoteBackgroundBrush,     val lineStyle: LineStyle = DefaultLineStyle,     val balanceLabelDimensions: Boolean = true) : SequenceDiagramStyle

An immutable SequenceDiagramStyle.

Constructors

Link copied to clipboard
fun BasicSequenceDiagramStyle(    participantSpacing: Dp = DefaultParticipantSpacing,     verticalSpacing: Dp = DefaultVerticalSpacing,     labelPadding: Dp = DefaultLabelPadding,     labelTextStyle: TextStyle = DefaultLabelTextStyle,     notePadding: PaddingValues = DefaultNotePadding,     noteShape: Shape = DefaultNoteShape,     noteBackgroundBrush: Brush = DefaultNoteBackgroundBrush,     lineStyle: LineStyle = DefaultLineStyle,     balanceLabelDimensions: Boolean = true)

Properties

Link copied to clipboard
open override val balanceLabelDimensions: Boolean = true

If true, labels will be measured with constraints that attempt to make their dimensions closer to square. This means long labels will be broken into multiple lines.

Link copied to clipboard
open override val labelPadding: Dp

The amount of space between labels and their anchors. This is also used for the amount of space that spanning labels overlap their bounding Participants.

Link copied to clipboard
open override val labelTextStyle: TextStyle

The TextStyle used for Labels.

Link copied to clipboard
open override val lineStyle: LineStyle

Properties that control how lines are rendered for both Participants and LineBuilders. See LineStyle documentation for more information.

Link copied to clipboard
open override val noteBackgroundBrush: Brush

The Brush used to draw the background of all Note composables.

Link copied to clipboard
open override val notePadding: PaddingValues

The padding used internally Note composables.

Link copied to clipboard
open override val noteShape: Shape

The Shape used for all Note composables.

Link copied to clipboard
open override val participantSpacing: Dp

The minimum amount of space between Participants in the diagram.

Link copied to clipboard
open override val verticalSpacing: Dp

The spacing between rows in the diagram.

Sources

Link copied to clipboard