# MermaidGitGraphBranch

Describes one Mermaid git graph branch.

 Class  

`ChartForgeX.Mermaid`

**Namespace**

`ChartForgeX.Mermaid`

**Assembly**

`ChartForgeX.Mermaid`

**Source**

[MermaidGitGraphDocument.cs:34](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidGitGraphDocument.cs#L34)

**Modifiers**

sealed

Describes one Mermaid git graph branch.

## Inheritance

- object
- MermaidGitGraphBranch

## Usage

 Explore 1 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 [MermaidGitGraphDocument.Branches](/api/chartforgex-mermaid-mermaidgitgraphdocument/#property-branches)

 Filter members   

    Show inherited   

 

## Constructors

 `public MermaidGitGraphBranch(string name, int? order, MermaidSourceSpan span)` [#](#constructor-ctor-string-nullable-system-int32-chartforgex-mermaid-mermaidsourcespan) 

[MermaidGitGraphDocument.cs:34](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidGitGraphDocument.cs#L34)

Initializes a Mermaid git graph branch.

Parameters

**name string required**

**order int? required**

**span ChartForgeX.Mermaid.MermaidSourceSpan required**

## Inherited Methods

 `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 string Name { get; set; }` [#](#property-name) 

[MermaidGitGraphDocument.cs:41](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidGitGraphDocument.cs#L41)

Gets or sets the branch name.

 `public int? Order { get; }` [#](#property-order) 

[MermaidGitGraphDocument.cs:44](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidGitGraphDocument.cs#L44)

Gets the optional branch order.

 `public MermaidSourceSpan Span { get; }` [#](#property-span) 

[MermaidGitGraphDocument.cs:47](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Mermaid/MermaidGitGraphDocument.cs#L47)

Gets the source span for the branch statement.

<!-- PowerForge markdown artifact sha256:9B60A1A03B3E442A8A9B413000C37FF56AED7D434F5EBEFEFDF32FA5865E203F -->
