Skip to content
ChartForgeX
Class

SequenceLayoutPolicy

ChartForgeX.VisualArtifacts

Namespace
ChartForgeX.VisualArtifacts
Assembly
ChartForgeX
Modifiers
sealed

Immutable optional native sequence allocations. Null fields keep the incumbent layout.

Inheritance

  • object
  • SequenceLayoutPolicy

Remarks

Participant spacing separates measured headers. Note spacing is the margin around note text and its surrounding clearance. CanvasPadding affects convenience/natural exports; an explicit render context owns its viewport and outer insets. Explicit allocations that cannot fit reject before paint rather than shrinking text or dropping facts.

Usage

Explore 2 API references to this type

This type appears in these public API surfaces even when no hand-authored example is attached directly to the page.

Constructors

public SequenceLayoutPolicy(ChartPadding? canvasPadding = null, double? participantMinimumWidth = null, double? participantMinimumHeight = null, double? participantSpacing = null, double? messageSpacing = null, double? noteSpacing = null, double? fragmentMargin = null, double? fragmentLabelPadding = null, double? activationWidth = null, double? wrapPadding = null, bool? wrapLabels = null, bool? mirrorParticipants = null, bool? hideUnusedParticipants = null, TextAlignment? messageAlignment = null, TextAlignment? noteAlignment = null, SequenceNumberPresentation? numberPresentation = null, SequenceSelfMessageRouting? selfMessageRouting = null, double? footerBottomMargin = null, double? fragmentTabMinimumWidth = null, double? fragmentTabMinimumHeight = null, SequenceParticipantBands? participantBands = null) #

Creates a captured logical-unit policy; an empty instance is equivalent to no policy.

Parameters

canvasPadding ChartForgeX.Primitives.ChartPadding? = null optional
participantMinimumWidth double? = null optional
participantMinimumHeight double? = null optional
participantSpacing double? = null optional
messageSpacing double? = null optional
noteSpacing double? = null optional
fragmentMargin double? = null optional
fragmentLabelPadding double? = null optional
activationWidth double? = null optional
wrapPadding double? = null optional
wrapLabels bool? = null optional
mirrorParticipants bool? = null optional
hideUnusedParticipants bool? = null optional
messageAlignment ChartForgeX.Typography.TextAlignment? = null optional
noteAlignment ChartForgeX.Typography.TextAlignment? = null optional
numberPresentation ChartForgeX.VisualArtifacts.SequenceNumberPresentation? = null optional
selfMessageRouting ChartForgeX.VisualArtifacts.SequenceSelfMessageRouting? = null optional
footerBottomMargin double? = null optional
fragmentTabMinimumWidth double? = null optional
fragmentTabMinimumHeight double? = null optional
participantBands ChartForgeX.VisualArtifacts.SequenceParticipantBands? = null optional

Properties

public ChartPadding? CanvasPadding { get; } #

Gets optional independent outer insets for natural/convenience preparation.

public double? ParticipantMinimumWidth { get; } #

Gets the optional positive ParticipantMinimumWidth in logical units.

public double? ParticipantMinimumHeight { get; } #

Gets the optional positive ParticipantMinimumHeight in logical units.

public double? ParticipantSpacing { get; } #

Gets the optional nonnegative ParticipantSpacing in logical units.

public double? MessageSpacing { get; } #

Gets the optional nonnegative MessageSpacing in logical units.

public double? NoteSpacing { get; } #

Gets the optional nonnegative NoteSpacing in logical units.

public double? FragmentMargin { get; } #

Gets the optional nonnegative FragmentMargin in logical units.

public double? FragmentLabelPadding { get; } #

Gets the optional nonnegative FragmentLabelPadding in logical units.

public double? ActivationWidth { get; } #

Gets the optional positive ActivationWidth in logical units.

public double? WrapPadding { get; } #

Gets the optional nonnegative WrapPadding in logical units.

public bool? WrapLabels { get; } #

Gets explicit wrapping; false preserves complete authored lines and rejects insufficient fixed allocations.

public bool? MirrorParticipants { get; } #

Gets whether each visible participant is repeated at its lifetime end using the measured native participant painter.

public bool? HideUnusedParticipants { get; } #

Gets whether participant columns without a message, note, activation or reference target are omitted from this view.

public TextAlignment? MessageAlignment { get; } #

Gets optional alignment of message lines inside the measured native message allocation.

public TextAlignment? NoteAlignment { get; } #

Gets optional alignment of note lines inside the existing measured note interior.

public SequenceNumberPresentation? NumberPresentation { get; } #

Gets optional native number presentation; null/Inline retain the ordinary prefix/text-run law.

public SequenceSelfMessageRouting? SelfMessageRouting { get; } #

Gets optional self-route presentation. Null retains legacy 56/24; explicit Orthogonal uses 25-unit and Curved 20-unit return.

public double? FooterBottomMargin { get; } #

Gets optional trailing space after the last mirrored footer; null retains the ordinary fragment margin.

public double? FragmentTabMinimumWidth { get; } #

Gets optional measured fragment keyword-tab minimum width; null with no tab height keeps the ordinary combined header.

public double? FragmentTabMinimumHeight { get; } #

Gets optional measured fragment keyword-tab minimum height; null with no tab width keeps the ordinary combined header.

public SequenceParticipantBands? ParticipantBands { get; } #

Gets optional measured glyph/label/lifeline bands; null retains ordinary participant anatomy.

public bool HasOverrides { get; } #

Gets whether this immutable policy authors any effective allocation or view change.