Skip to content
ChartForgeX
Class

MermaidStateRegion

ChartForgeX.Mermaid

Namespace
ChartForgeX.Mermaid
Assembly
ChartForgeX.Mermaid
Modifiers
sealed

Identifies one ordered region inside a composite state.

Inheritance

Usage

Explore 1 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.

Returned or exposed by 1

Constructors

public MermaidStateRegion(string id, string compositeStateId, int index, MermaidSourceSpan span) #

Creates a region whose identity remains stable across parsing and native projection.

Parameters

id string required
compositeStateId string required
index int required
span ChartForgeX.Mermaid.MermaidSourceSpan required

Properties

public string Id { get; } #

Gets the stable region identity.

public string CompositeStateId { get; } #

Gets the containing composite state identity.

public int Index { get; } #

Gets the zero-based source order within that composite.

public string? Direction { get; set; } #

Gets or sets the local layout direction, or null to inherit the composite direction.