Class
MermaidDiagnostic
ChartForgeX.Mermaid
Describes a Mermaid parser diagnostic.
Inheritance
- object
- MermaidDiagnostic
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.
Returned or exposed by 2
- Property MermaidParseResult<T>.Diagnostics
- Property MermaidRenderResult.Diagnostics
Constructors
public MermaidDiagnostic() #Inherited Methods
Properties
public string Code { get; set; } #Gets or sets the stable diagnostic identifier. Library-produced diagnostics use MermaidDiagnosticCodes; caller-created diagnostics may leave it empty.
public VisualDiagnosticSeverity Severity { get; set; } #Gets or sets diagnostic severity.
public MermaidSourceSpan Span { get; set; } #Gets or sets the source span associated with the diagnostic.