# GitGraphBlockFluent

The fluent methods of GitGraphBlock, generated from its public properties: A property-named method sets a property and a singular-named method adds…

 Class  

`ChartForgeX.VisualBlocks`

**Namespace**

`ChartForgeX.VisualBlocks`

**Assembly**

`ChartForgeX`

**Modifiers**

static

The fluent methods of [GitGraphBlock](/api/chartforgex-visualblocks-gitgraphblock/), generated from its public properties: A property-named method sets a property and a singular-named method adds to a collection, both returning the same instance.

## Inheritance

- object
- GitGraphBlockFluent

 Filter members   

    Show inherited   

 

## Methods

 `public static GitGraphBlock Accessibility(GitGraphBlock gitGraphBlock, Action<VisualAccessibility> configure)` [#](#method-accessibility-chartforgex-visualblocks-gitgraphblock-action-chartforgex-accessibility-visualaccessibility) 

Configures [VisualBlockOptions.Accessibility](/api/chartforgex-visualblocks-visualblockoptions/) in place: Gets the text alternative, language, and decorative metadata used by static exports.

Parameters

**gitGraphBlock ChartForgeX.VisualBlocks.GitGraphBlock required**

The instance.

**configure System.Action<ChartForgeX.Accessibility.VisualAccessibility> required**

Configures the value.

Returns

 `GitGraphBlock` The same instance. 

 `public static GitGraphBlock Direction(GitGraphBlock gitGraphBlock, GitGraphDirection value)` [#](#method-direction-chartforgex-visualblocks-gitgraphblock-chartforgex-visualblocks-gitgraphdirection) 

Sets [GitGraphBlock.Direction](/api/chartforgex-visualblocks-gitgraphblock/): Gets or sets commit progression. Branch and commit source order remains unchanged.

Parameters

**gitGraphBlock ChartForgeX.VisualBlocks.GitGraphBlock required**

The instance.

**value ChartForgeX.VisualBlocks.GitGraphDirection required**

The value.

Returns

 `GitGraphBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                // C# fluent
new global::ChartForgeX.VisualBlocks.GitGraphBlock { Direction = value };    gitGraphBlock.Direction(value);
```

 `public static GitGraphBlock HostOwnsFrame(GitGraphBlock gitGraphBlock, bool value = true)` [#](#method-hostownsframe-chartforgex-visualblocks-gitgraphblock-boolean) 

Sets [VisualBlockOptions.HostOwnsFrame](/api/chartforgex-visualblocks-visualblockoptions/): Gets or sets whether the host owns the frame, removing the surface and outer padding.

Parameters

**gitGraphBlock ChartForgeX.VisualBlocks.GitGraphBlock required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `GitGraphBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                                                                                   // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.GitGraphBlock>)gitGraphBlock).Options.HostOwnsFrame = value;    gitGraphBlock.HostOwnsFrame(value);
```

 `public static GitGraphBlock Options(GitGraphBlock gitGraphBlock, Action<VisualBlockOptions> configure)` [#](#method-options-chartforgex-visualblocks-gitgraphblock-action-chartforgex-visualblocks-visualblockoptions) 

Configures VisualBlock<GitGraphBlock>.Options in place: Gets shared rendering options.

Parameters

**gitGraphBlock ChartForgeX.VisualBlocks.GitGraphBlock required**

The instance.

**configure System.Action<ChartForgeX.VisualBlocks.VisualBlockOptions> required**

Configures the value.

Returns

 `GitGraphBlock` The same instance. 

 `public static GitGraphBlock Padding(GitGraphBlock gitGraphBlock, ChartPadding value)` [#](#method-padding-chartforgex-visualblocks-gitgraphblock-chartforgex-primitives-chartpadding) 

Sets [VisualBlockOptions.Padding](/api/chartforgex-visualblocks-visualblockoptions/): Gets or sets the inner content padding.

Parameters

**gitGraphBlock ChartForgeX.VisualBlocks.GitGraphBlock required**

The instance.

**value ChartForgeX.Primitives.ChartPadding required**

The value.

Returns

 `GitGraphBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                                                                             // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.GitGraphBlock>)gitGraphBlock).Options.Padding = value;    gitGraphBlock.Padding(value);
```

 `public static GitGraphBlock ParallelCommits(GitGraphBlock gitGraphBlock, bool value = true)` [#](#method-parallelcommits-chartforgex-visualblocks-gitgraphblock-boolean) 

Sets [GitGraphBlock.ParallelCommits](/api/chartforgex-visualblocks-gitgraphblock/): Gets or sets whether independent branches share ancestry-depth columns. Parents must precede children in source order; commits on one lane remain distinct.

Parameters

**gitGraphBlock ChartForgeX.VisualBlocks.GitGraphBlock required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `GitGraphBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                      // C# fluent
new global::ChartForgeX.VisualBlocks.GitGraphBlock { ParallelCommits = value };    gitGraphBlock.ParallelCommits(value);
```

 `public static GitGraphBlock RasterScale(GitGraphBlock gitGraphBlock, int value)` [#](#method-rasterscale-chartforgex-visualblocks-gitgraphblock-int32) 

Sets [VisualBlockOptions.RasterScale](/api/chartforgex-visualblocks-visualblockoptions/): Gets or sets the output pixel multiplier used by PNG exports.

Parameters

**gitGraphBlock ChartForgeX.VisualBlocks.GitGraphBlock required**

The instance.

**value int required**

The value.

Returns

 `GitGraphBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                                                                                 // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.GitGraphBlock>)gitGraphBlock).Options.RasterScale = value;    gitGraphBlock.RasterScale(value);
```

 `public static GitGraphBlock RotateCommitLabels(GitGraphBlock gitGraphBlock, bool value = true)` [#](#method-rotatecommitlabels-chartforgex-visualblocks-gitgraphblock-boolean) 

Sets [GitGraphBlock.RotateCommitLabels](/api/chartforgex-visualblocks-gitgraphblock/): Gets or sets whether commit captions are tilted 45 degrees. Tags and branch captions stay upright.

Parameters

**gitGraphBlock ChartForgeX.VisualBlocks.GitGraphBlock required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `GitGraphBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                         // C# fluent
new global::ChartForgeX.VisualBlocks.GitGraphBlock { RotateCommitLabels = value };    gitGraphBlock.RotateCommitLabels(value);
```

 `public static GitGraphBlock ShowBranchLabels(GitGraphBlock gitGraphBlock, bool value = true)` [#](#method-showbranchlabels-chartforgex-visualblocks-gitgraphblock-boolean) 

Sets [GitGraphBlock.ShowBranchLabels](/api/chartforgex-visualblocks-gitgraphblock/): Gets or sets whether branch labels and lane lines are rendered.

Parameters

**gitGraphBlock ChartForgeX.VisualBlocks.GitGraphBlock required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `GitGraphBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                       // C# fluent
new global::ChartForgeX.VisualBlocks.GitGraphBlock { ShowBranchLabels = value };    gitGraphBlock.ShowBranchLabels(value);
```

 `public static GitGraphBlock ShowCard(GitGraphBlock gitGraphBlock, bool value = true)` [#](#method-showcard-chartforgex-visualblocks-gitgraphblock-boolean) 

Sets [VisualBlockOptions.ShowCard](/api/chartforgex-visualblocks-visualblockoptions/): Gets or sets whether the outer card surface should be rendered.

Parameters

**gitGraphBlock ChartForgeX.VisualBlocks.GitGraphBlock required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `GitGraphBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                                                                              // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.GitGraphBlock>)gitGraphBlock).Options.ShowCard = value;    gitGraphBlock.ShowCard(value);
```

 `public static GitGraphBlock ShowCommitLabels(GitGraphBlock gitGraphBlock, bool value = true)` [#](#method-showcommitlabels-chartforgex-visualblocks-gitgraphblock-boolean) 

Sets [GitGraphBlock.ShowCommitLabels](/api/chartforgex-visualblocks-gitgraphblock/): Gets or sets whether commit labels are rendered.

Parameters

**gitGraphBlock ChartForgeX.VisualBlocks.GitGraphBlock required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `GitGraphBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                       // C# fluent
new global::ChartForgeX.VisualBlocks.GitGraphBlock { ShowCommitLabels = value };    gitGraphBlock.ShowCommitLabels(value);
```

 `public static GitGraphBlock Size(GitGraphBlock gitGraphBlock, ChartSize value)` [#](#method-size-chartforgex-visualblocks-gitgraphblock-chartforgex-primitives-chartsize) 

Sets [VisualBlockOptions.Size](/api/chartforgex-visualblocks-visualblockoptions/): Gets or sets the rendered block size in pixels.

Parameters

**gitGraphBlock ChartForgeX.VisualBlocks.GitGraphBlock required**

The instance.

**value ChartForgeX.Primitives.ChartSize required**

The value.

Returns

 `GitGraphBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                                                                          // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.GitGraphBlock>)gitGraphBlock).Options.Size = value;    gitGraphBlock.Size(value);
```

 `public static GitGraphBlock Subtitle(GitGraphBlock gitGraphBlock, string value)` [#](#method-subtitle-chartforgex-visualblocks-gitgraphblock-string) 

Sets VisualBlock<GitGraphBlock>.Subtitle: Gets or sets the block subtitle.

Parameters

**gitGraphBlock ChartForgeX.VisualBlocks.GitGraphBlock required**

The instance.

**value string required**

The value.

Returns

 `GitGraphBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                               // C# fluent
new global::ChartForgeX.VisualBlocks.GitGraphBlock { Subtitle = value };    gitGraphBlock.Subtitle(value);
```

 `public static GitGraphBlock SvgColorVariables(GitGraphBlock gitGraphBlock, SvgColorVariables? value)` [#](#method-svgcolorvariables-chartforgex-visualblocks-gitgraphblock-chartforgex-themes-svgcolorvariables) 

Sets [VisualBlockOptions.SvgColorVariables](/api/chartforgex-visualblocks-visualblockoptions/): Gets or sets the CSS custom properties SVG output writes for theme colours, matched by colour value (see [SvgColorVariables.Apply](/api/chartforgex-themes-svgcolorvariables/)), for example [SvgColorVariables.SharedRoles](/api/chartforgex-themes-svgcolorvariables/) of this theme and mode. Null (the default) writes literal colours; PNG output always does.

Parameters

**gitGraphBlock ChartForgeX.VisualBlocks.GitGraphBlock required**

The instance.

**value ChartForgeX.Themes.SvgColorVariables? required**

The value.

Returns

 `GitGraphBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                                                                                       // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.GitGraphBlock>)gitGraphBlock).Options.SvgColorVariables = value;    gitGraphBlock.SvgColorVariables(value);
```

 `public static GitGraphBlock Theme(GitGraphBlock gitGraphBlock, VisualTheme value)` [#](#method-theme-chartforgex-visualblocks-gitgraphblock-chartforgex-themes-visualtheme) 

Sets [VisualBlockOptions.Theme](/api/chartforgex-visualblocks-visualblockoptions/): Gets or sets the visual theme used by renderers.

Parameters

**gitGraphBlock ChartForgeX.VisualBlocks.GitGraphBlock required**

The instance.

**value ChartForgeX.Themes.VisualTheme required**

The value.

Returns

 `GitGraphBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                                                                           // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.GitGraphBlock>)gitGraphBlock).Options.Theme = value;    gitGraphBlock.Theme(value);
```

 `public static GitGraphBlock ThemeMode(GitGraphBlock gitGraphBlock, ThemeMode value)` [#](#method-thememode-chartforgex-visualblocks-gitgraphblock-chartforgex-thememode) 

Sets [VisualBlockOptions.ThemeMode](/api/chartforgex-visualblocks-visualblockoptions/): Gets or sets the explicit mode of the shared theme.

Parameters

**gitGraphBlock ChartForgeX.VisualBlocks.GitGraphBlock required**

The instance.

**value ChartForgeX.ThemeMode required**

The value.

Returns

 `GitGraphBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                                                                               // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.GitGraphBlock>)gitGraphBlock).Options.ThemeMode = value;    gitGraphBlock.ThemeMode(value);
```

 `public static GitGraphBlock Title(GitGraphBlock gitGraphBlock, string value)` [#](#method-title-chartforgex-visualblocks-gitgraphblock-string) 

Sets VisualBlock<GitGraphBlock>.Title: Gets or sets the block title.

Parameters

**gitGraphBlock ChartForgeX.VisualBlocks.GitGraphBlock required**

The instance.

**value string required**

The value.

Returns

 `GitGraphBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                            // C# fluent
new global::ChartForgeX.VisualBlocks.GitGraphBlock { Title = value };    gitGraphBlock.Title(value);
```

 `public static GitGraphBlock TransparentBackground(GitGraphBlock gitGraphBlock, bool value = true)` [#](#method-transparentbackground-chartforgex-visualblocks-gitgraphblock-boolean) 

Sets [VisualBlockOptions.TransparentBackground](/api/chartforgex-visualblocks-visualblockoptions/): Gets or sets whether the full background should stay transparent.

Parameters

**gitGraphBlock ChartForgeX.VisualBlocks.GitGraphBlock required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `GitGraphBlock` The same instance. 

Examples

```csharp
// C# initializer or property                                                                                                                           // C# fluent
((global::ChartForgeX.VisualBlocks.VisualBlock<global::ChartForgeX.VisualBlocks.GitGraphBlock>)gitGraphBlock).Options.TransparentBackground = value;    gitGraphBlock.TransparentBackground(value);
```

## 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?` 

<!-- PowerForge markdown artifact sha256:753B6572C759A58808EC875964D3AA078BD5F391E917ED4DADF27CB97CA15260 -->
