# MermaidFlowchartRenderOptions

Defines conversion defaults for rendering Mermaid flowcharts through ChartForgeX.

 Class  

`ChartForgeX.Mermaid`

**Namespace**

`ChartForgeX.Mermaid`

**Assembly**

`ChartForgeX.Mermaid`

**Source**

[MermaidFlowchartRenderOptions.Icons.cs:8](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidFlowchartRenderOptions.Icons.cs#L8)

**Base**

`MermaidDiagramRenderOptions`

**Modifiers**

sealed

Defines conversion defaults for rendering Mermaid flowcharts through ChartForgeX.

## Inheritance

- [MermaidDiagramRenderOptions](/api/chartforgex-mermaid-mermaiddiagramrenderoptions/)
- MermaidFlowchartRenderOptions

## Usage

 Explore 11 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 3

- Property [MermaidRenderOptions.Flowchart](/api/chartforgex-mermaid-mermaidrenderoptions/#property-flowchart)
- Property [MermaidRenderOptions.Swimlane](/api/chartforgex-mermaid-mermaidrenderoptions/#property-swimlane)
- Property [MermaidRenderOptions.UseCase](/api/chartforgex-mermaid-mermaidrenderoptions/#property-usecase)

### Accepted by parameters 8

- Extension method [MermaidFlowchartDocument.ToPng](/api/chartforgex-mermaid-mermaidflowchartdocument/#extension-topng-chartforgex-mermaid-mermaidflowchartdocument-chartforgex-mermaid-mermaidflowchartrenderoptions) parameter `options`
- Extension method [MermaidFlowchartDocument.ToSvg](/api/chartforgex-mermaid-mermaidflowchartdocument/#extension-tosvg-chartforgex-mermaid-mermaidflowchartdocument-chartforgex-mermaid-mermaidflowchartrenderoptions) parameter `options`
- Extension method [MermaidFlowchartDocument.ToTopologyChart](/api/chartforgex-mermaid-mermaidflowchartdocument/#extension-totopologychart-chartforgex-mermaid-mermaidflowchartdocument-chartforgex-mermaid-mermaidflowchartrenderoptions) parameter `options`
- Extension method [MermaidFlowchartDocument.ToVisualArtifact](/api/chartforgex-mermaid-mermaidflowchartdocument/#extension-tovisualartifact-chartforgex-mermaid-mermaidflowchartdocument-chartforgex-mermaid-mermaidflowchartrenderoptions) parameter `options`
- Method [MermaidFlowchartRendering.ToPng](/api/chartforgex-mermaid-mermaidflowchartrendering/#method-topng-chartforgex-mermaid-mermaidflowchartdocument-chartforgex-mermaid-mermaidflowchartrenderoptions) parameter `options`
- Method [MermaidFlowchartRendering.ToSvg](/api/chartforgex-mermaid-mermaidflowchartrendering/#method-tosvg-chartforgex-mermaid-mermaidflowchartdocument-chartforgex-mermaid-mermaidflowchartrenderoptions) parameter `options`
- Method [MermaidFlowchartRendering.ToTopologyChart](/api/chartforgex-mermaid-mermaidflowchartrendering/#method-totopologychart-chartforgex-mermaid-mermaidflowchartdocument-chartforgex-mermaid-mermaidflowchartrenderoptions) parameter `options`
- Method [MermaidFlowchartRendering.ToVisualArtifact](/api/chartforgex-mermaid-mermaidflowchartrendering/#method-tovisualartifact-chartforgex-mermaid-mermaidflowchartdocument-chartforgex-mermaid-mermaidflowchartrenderoptions) parameter `options`

 Filter members   

    Show inherited   

 

## Constructors

 `public MermaidFlowchartRenderOptions()` [#](#constructor-ctor) 

[MermaidFlowchartRendering.cs:406](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidFlowchartRendering.cs#L406)

## Inherited Methods

 `public MermaidDiagramRenderOptions Clone()` [#](#method-clone) 

[MermaidDiagramRenderOptions.cs:15](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDiagramRenderOptions.cs#L15)

Inherited from [MermaidDiagramRenderOptions](/api/chartforgex-mermaid-mermaiddiagramrenderoptions/)

Returns

 `MermaidDiagramRenderOptions` 

 `public virtual bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from object

Parameters

**obj object? required**

Returns

 `bool` 

 `public virtual int GetHashCode()` [#](#method-gethashcode) 

Inherited from object

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public virtual string? ToString()` [#](#method-tostring) 

Inherited from object

Returns

 `string?` 

## Properties

 `public bool FitContent { get; set; }` [#](#property-fitcontent) 

[MermaidFlowchartRendering.cs:417](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidFlowchartRendering.cs#L417)

Gets or sets whether the viewport and enclosed node dimensions should fit the parsed graph content and prepared font.

 `public bool HasExplicitViewportSize { get; }` [#](#property-hasexplicitviewportsize) 

[MermaidFlowchartRendering.cs:420](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidFlowchartRendering.cs#L420)

Gets whether a caller explicitly assigned the viewport width or height.

 `public double Width { get; set; }` [#](#property-width) 

[MermaidFlowchartRendering.cs:424](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidFlowchartRendering.cs#L424)

Gets or sets the topology viewport width.

 `public double Height { get; set; }` [#](#property-height) 

[MermaidFlowchartRendering.cs:434](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidFlowchartRendering.cs#L434)

Gets or sets the topology viewport height.

 `public double Padding { get; set; }` [#](#property-padding) 

[MermaidFlowchartRendering.cs:444](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidFlowchartRendering.cs#L444)

Gets or sets the topology viewport padding.

 `public double MinimumFittedWidth { get; set; }` [#](#property-minimumfittedwidth) 

[MermaidFlowchartRendering.cs:454](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidFlowchartRendering.cs#L454)

Gets or sets the minimum width used by content-fitted flowcharts.

 `public double MinimumFittedHeight { get; set; }` [#](#property-minimumfittedheight) 

[MermaidFlowchartRendering.cs:463](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidFlowchartRendering.cs#L463)

Gets or sets the minimum height used by content-fitted flowcharts.

 `public double MaximumFittedWidth { get; set; }` [#](#property-maximumfittedwidth) 

[MermaidFlowchartRendering.cs:472](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidFlowchartRendering.cs#L472)

Gets or sets the maximum width used by content-fitted flowcharts.

 `public double MaximumFittedHeight { get; set; }` [#](#property-maximumfittedheight) 

[MermaidFlowchartRendering.cs:481](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidFlowchartRendering.cs#L481)

Gets or sets the maximum height used by content-fitted flowcharts.

 `public TopologyIconCatalog? IconCatalog { get; set; }` [#](#property-iconcatalog) 

[MermaidFlowchartRenderOptions.Icons.cs:8](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidFlowchartRenderOptions.Icons.cs#L8)

Gets or sets an optional finite native icon catalog for exact Flowchart and UseCase icon ids. Null uses the built-in catalog.

 `public Dictionary<string, RgbaImage>? ImageBindings { get; set; }` [#](#property-imagebindings) 

[MermaidFlowchartRenderOptions.Images.cs:14](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidFlowchartRenderOptions.Images.cs#L14)

Gets or sets caller-owned images keyed by exact source img identities. Null leaves image references inert.

## Inherited Properties

 `public string? Id { get; set; }` [#](#property-id) 

[MermaidDiagramRenderOptions.cs:6](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDiagramRenderOptions.cs#L6)

Inherited from [MermaidDiagramRenderOptions](/api/chartforgex-mermaid-mermaiddiagramrenderoptions/)

 `public string? Title { get; set; }` [#](#property-title) 

[MermaidDiagramRenderOptions.cs:8](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDiagramRenderOptions.cs#L8)

Inherited from [MermaidDiagramRenderOptions](/api/chartforgex-mermaid-mermaiddiagramrenderoptions/)

 `public string? Subtitle { get; set; }` [#](#property-subtitle) 

[MermaidDiagramRenderOptions.cs:10](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDiagramRenderOptions.cs#L10)

Inherited from [MermaidDiagramRenderOptions](/api/chartforgex-mermaid-mermaiddiagramrenderoptions/)

 `public MermaidPresentationOptions? Presentation { get; set; }` [#](#property-presentation) 

[MermaidDiagramRenderOptions.cs:12](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidDiagramRenderOptions.cs#L12)

Inherited from [MermaidDiagramRenderOptions](/api/chartforgex-mermaid-mermaiddiagramrenderoptions/)

<!-- PowerForge markdown artifact sha256:FA7B7CDA5DE4F986C3572E4ADEA1B858F485EDB2482477FC14D023C72FA09DF8 -->
