Skip to content
ChartForgeX
Class

MermaidStateNode

ChartForgeX.Mermaid

Namespace
ChartForgeX.Mermaid
Assembly
ChartForgeX.Mermaid
Modifiers
sealed

Describes one state diagram node.

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 MermaidStateNode(string id, MermaidSourceSpan span) #

Initializes a state node.

Parameters

id string required
span ChartForgeX.Mermaid.MermaidSourceSpan required

Properties

public string Id { get; } #

Gets the state id.

public string? Label { get; set; } #

Gets or sets an optional description label.

public string? ParentId { get; set; } #

Gets or sets the containing composite state id.

public string? RegionId { get; set; } #

Gets or sets the region within the containing composite state.

public bool IsComposite { get; set; } #

Gets or sets whether this state declares a composite boundary, including an empty one.

public string? Direction { get; set; } #

Gets or sets the direction authored within this composite state.

public List<string> Classes { get; } #

Gets named classes in assignment order; later classes override earlier class paints.

public Dictionary<string, string> Styles { get; } #

Gets direct declarations, which override named/default paints without changing state semantics.

public string? Kind { get; set; } #

Gets or sets the special state marker such as choice, fork, join, start, or end.