# GitGraphBranch

Describes one lane in a git graph visual block.

 Class  

`ChartForgeX.VisualBlocks`

**Namespace**

`ChartForgeX.VisualBlocks`

**Assembly**

`ChartForgeX`

**Source**

[GitGraphBlock.cs:54](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/GitGraphBlock.cs#L54)

**Modifiers**

sealed

Describes one lane in a git graph visual block.

## Inheritance

- object
- GitGraphBranch

## 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 [GitGraphBlock.Branches](/api/chartforgex-visualblocks-gitgraphblock/#property-branches)

 Filter members   

    Show inherited   

 

## Constructors

 `public GitGraphBranch(string name, int? order = null)` [#](#constructor-ctor-string-nullable-system-int32) 

[GitGraphBlock.cs:54](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/GitGraphBlock.cs#L54)

Initializes a git graph branch.

Parameters

**name string required**

**order int? = null optional**

## 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) 

[GitGraphBlock.cs:60](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/GitGraphBlock.cs#L60)

Gets or sets the branch name.

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

[GitGraphBlock.cs:63](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX/VisualBlocks/GitGraphBlock.cs#L63)

Gets or sets the optional rendering order.

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