# MermaidGitGraphRenderOptions

Defines conversion and rendering defaults for Mermaid git graph diagrams.

 Class  

`ChartForgeX.Mermaid`

**Namespace**

`ChartForgeX.Mermaid`

**Assembly**

`ChartForgeX.Mermaid`

**Source**

[MermaidGitGraphRendering.cs:91](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidGitGraphRendering.cs#L91)

**Base**

`MermaidDiagramRenderOptions`

**Modifiers**

sealed

Defines conversion and rendering defaults for Mermaid git graph diagrams.

## Inheritance

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

## Usage

 Explore 9 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 1

- Property [MermaidRenderOptions.GitGraph](/api/chartforgex-mermaid-mermaidrenderoptions/#property-gitgraph)

### Accepted by parameters 8

- Extension method [MermaidGitGraphDocument.ToGitGraphBlock](/api/chartforgex-mermaid-mermaidgitgraphdocument/#extension-togitgraphblock-chartforgex-mermaid-mermaidgitgraphdocument-chartforgex-mermaid-mermaidgitgraphrenderoptions) parameter `options`
- Extension method [MermaidGitGraphDocument.ToPng](/api/chartforgex-mermaid-mermaidgitgraphdocument/#extension-topng-chartforgex-mermaid-mermaidgitgraphdocument-chartforgex-mermaid-mermaidgitgraphrenderoptions) parameter `options`
- Extension method [MermaidGitGraphDocument.ToSvg](/api/chartforgex-mermaid-mermaidgitgraphdocument/#extension-tosvg-chartforgex-mermaid-mermaidgitgraphdocument-chartforgex-mermaid-mermaidgitgraphrenderoptions) parameter `options`
- Extension method [MermaidGitGraphDocument.ToVisualArtifact](/api/chartforgex-mermaid-mermaidgitgraphdocument/#extension-tovisualartifact-chartforgex-mermaid-mermaidgitgraphdocument-chartforgex-mermaid-mermaidgitgraphrenderoptions) parameter `options`
- Method [MermaidGitGraphRendering.ToGitGraphBlock](/api/chartforgex-mermaid-mermaidgitgraphrendering/#method-togitgraphblock-chartforgex-mermaid-mermaidgitgraphdocument-chartforgex-mermaid-mermaidgitgraphrenderoptions) parameter `options`
- Method [MermaidGitGraphRendering.ToPng](/api/chartforgex-mermaid-mermaidgitgraphrendering/#method-topng-chartforgex-mermaid-mermaidgitgraphdocument-chartforgex-mermaid-mermaidgitgraphrenderoptions) parameter `options`
- Method [MermaidGitGraphRendering.ToSvg](/api/chartforgex-mermaid-mermaidgitgraphrendering/#method-tosvg-chartforgex-mermaid-mermaidgitgraphdocument-chartforgex-mermaid-mermaidgitgraphrenderoptions) parameter `options`
- Method [MermaidGitGraphRendering.ToVisualArtifact](/api/chartforgex-mermaid-mermaidgitgraphrendering/#method-tovisualartifact-chartforgex-mermaid-mermaidgitgraphdocument-chartforgex-mermaid-mermaidgitgraphrenderoptions) parameter `options`

 Filter members   

    Show inherited   

 

## Constructors

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

[MermaidGitGraphRendering.cs:91](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidGitGraphRendering.cs#L91)

## 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 int Width { get; set; }` [#](#property-width) 

[MermaidGitGraphRendering.cs:91](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidGitGraphRendering.cs#L91)

Gets or sets the natural preview width.

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

[MermaidGitGraphRendering.cs:94](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidGitGraphRendering.cs#L94)

Gets or sets the natural preview height.

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

[MermaidGitGraphRendering.cs:97](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidGitGraphRendering.cs#L97)

Gets or sets the inner preview padding.

 `public bool? ShowBranchLabels { get; set; }` [#](#property-showbranchlabels) 

[MermaidGitGraphRendering.cs:100](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidGitGraphRendering.cs#L100)

Gets or sets whether branch labels and lane lines are rendered; null uses source configuration, then true.

 `public bool? ShowCommitLabels { get; set; }` [#](#property-showcommitlabels) 

[MermaidGitGraphRendering.cs:103](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidGitGraphRendering.cs#L103)

Gets or sets whether commit labels are rendered; null uses source configuration, then true.

 `public GitGraphDirection? Direction { get; set; }` [#](#property-direction) 

[MermaidGitGraphRendering.cs:106](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidGitGraphRendering.cs#L106)

Gets or sets a host direction override; null uses the source header, then LR.

 `public bool? ParallelCommits { get; set; }` [#](#property-parallelcommits) 

[MermaidGitGraphRendering.cs:108](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidGitGraphRendering.cs#L108)

Gets or sets a host parallel-placement override; null uses source configuration, then false.

 `public bool? RotateCommitLabels { get; set; }` [#](#property-rotatecommitlabels) 

[MermaidGitGraphRendering.cs:110](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidGitGraphRendering.cs#L110)

Gets or sets a host caption-rotation override; null uses source configuration, then false.

## 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:92FA771B4965DF8D5A55824B1F3161BDC3EF19C5E65B4576068ABC2A84CDF5EF -->
