Skip to content
ChartForgeX
Class

MermaidStyleDefinition

ChartForgeX.Mermaid

Namespace
ChartForgeX.Mermaid
Assembly
ChartForgeX.Mermaid
Modifiers
sealed

Describes a named style definition shared by Mermaid diagram families.

Inheritance

Usage

Explore 8 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 MermaidStyleDefinition(string name, MermaidSourceSpan span) #

Initializes a named style definition at its source location.

Parameters

name string required
span ChartForgeX.Mermaid.MermaidSourceSpan required

Properties

public string Name { get; set; } #

Gets or sets the style name used by the family's class-assignment syntax.

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

Gets declarations in the definition, including diagnosed properties without a native mapping.