MermaidStateNode
ChartForgeX.Mermaid
Describes one state diagram node.
Inheritance
- MermaidAstNode
- MermaidStateNode
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
- Property MermaidStateDocument.States
Constructors
public MermaidStateNode(string id, MermaidSourceSpan span) #Initializes a state node.
Parameters
- id string
- span ChartForgeX.Mermaid.MermaidSourceSpan
Inherited Methods
Properties
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.