MermaidParseOptions Class
The options of MermaidDocument.Parse.
public sealed class MermaidParseOptionsConstructors
| Name | Description |
|---|---|
| MermaidParseOptions() |
MermaidParseOptions()
MermaidParseOptions.cspublic MermaidParseOptions()No documentation is available.
Properties
| Name | Description |
|---|---|
| Default | Gets the default options. |
| DefaultTheme | Gets the theme of the diagram when the text does not choose one, or null for DiagramTheme.Default. |
| MaxDepth | Gets the deepest nesting of the groups (subgraphs, namespaces, composite states...) and of the expressions of a railroad diagram. The default is 32. |
| MaxEdges | Gets the largest number of edges of a diagram. The default is 500, the limit of Mermaid. |
| MaxNodes | Gets the largest number of nodes of a diagram. The default is 2,000. |
| MaxTextSize | Gets the largest text, in characters; a larger text is rejected. The default is 50,000, the limit of Mermaid. |
Default
MermaidParseOptions.csDefaultTheme
MermaidParseOptions.csGets the theme of the diagram when the text does not choose one, or null for DiagramTheme.Default.
public DiagramTheme? DefaultTheme { get; init; }