MermaidParseOptions Class

The options of MermaidDocument.Parse.

public sealed class MermaidParseOptions

Constructors

NameDescription
MermaidParseOptions()

MermaidParseOptions()

MermaidParseOptions.cs
public MermaidParseOptions()

No documentation is available.

Properties

NameDescription
DefaultGets the default options.
DefaultThemeGets the theme of the diagram when the text does not choose one, or null for DiagramTheme.Default.
MaxDepthGets the deepest nesting of the groups (subgraphs, namespaces, composite states...) and of the expressions of a railroad diagram. The default is 32.
MaxEdgesGets the largest number of edges of a diagram. The default is 500, the limit of Mermaid.
MaxNodesGets the largest number of nodes of a diagram. The default is 2,000.
MaxTextSizeGets the largest text, in characters; a larger text is rejected. The default is 50,000, the limit of Mermaid.

Gets the default options.

public static MermaidParseOptions Default { get; }

Property value

MermaidParseOptions

Gets the theme of the diagram when the text does not choose one, or null for DiagramTheme.Default.

public DiagramTheme? DefaultTheme { get; init; }

Property value

DiagramTheme?

Gets the deepest nesting of the groups (subgraphs, namespaces, composite states...) and of the expressions of a railroad diagram. The default is 32.

public int MaxDepth { get; init; }

Property value

int

Gets the largest number of edges of a diagram. The default is 500, the limit of Mermaid.

public int MaxEdges { get; init; }

Property value

int

Gets the largest number of nodes of a diagram. The default is 2,000.

public int MaxNodes { get; init; }

Property value

int

Gets the largest text, in characters; a larger text is rejected. The default is 50,000, the limit of Mermaid.

public int MaxTextSize { get; init; }

Property value

int