# GraphClusterMode

Names reusable clustering strategies that adapters can map to Canvas, WebGL, desktop, or native graph controls.

 Enum  

`ChartForgeX.Interactivity`

**Namespace**

`ChartForgeX.Interactivity`

**Assembly**

`ChartForgeX.Interactivity`

**Source**

[GraphClusterOptions.cs:46](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphClusterOptions.cs#L46)

**Base**

`Enum`

**Implements**

 `IComparable` `ISpanFormattable` `IFormattable` `IConvertible` 

**Modifiers**

sealed

Names reusable clustering strategies that adapters can map to Canvas, WebGL, desktop, or native graph controls.

## Inheritance

- Enum
- GraphClusterMode

## Usage

 Explore 7 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 5

- Field [GraphClusterMode.Adaptive](/api/chartforgex-interactivity-graphclustermode/#field-adaptive)
- Field [GraphClusterMode.ByGroup](/api/chartforgex-interactivity-graphclustermode/#field-bygroup)
- Field [GraphClusterMode.Explicit](/api/chartforgex-interactivity-graphclustermode/#field-explicit)
- Field [GraphClusterMode.Hybrid](/api/chartforgex-interactivity-graphclustermode/#field-hybrid)
- Property [GraphClusterOptions.Mode](/api/chartforgex-interactivity-graphclusteroptions/#property-mode)

### Accepted by parameters 2

- Extension method [GraphClusterOptions.Mode](/api/chartforgex-interactivity-graphclusteroptions/#extension-mode-chartforgex-interactivity-graphclusteroptions-chartforgex-interactivity-graphclustermode) parameter `value`
- Method [GraphClusterOptionsFluent.Mode](/api/chartforgex-interactivity-graphclusteroptionsfluent/#method-mode-chartforgex-interactivity-graphclusteroptions-chartforgex-interactivity-graphclustermode) parameter `value`

 Filter members   

    Show inherited   

 

## Inherited Methods

 `public int CompareTo(object? target)` [#](#method-compareto-object) 

Inherited from Enum

Parameters

**target object? required**

Returns

 `int` 

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

Inherited from Enum

Parameters

**obj object? required**

Returns

 `bool` 

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

Inherited from Enum

Returns

 `int` 

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

Inherited from object

Returns

 `Type` 

 `public TypeCode GetTypeCode()` [#](#method-gettypecode) 

Inherited from Enum

Returns

 `TypeCode` 

 `public bool HasFlag(Enum flag)` [#](#method-hasflag-enum) 

Inherited from Enum

Parameters

**flag Enum required**

Returns

 `bool` 

 ToString 4 overloads 

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

Inherited from Enum

Returns

 `string` 

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

Inherited from Enum

Parameters

**format string? required**

Returns

 `string` 

 `public string ToString(IFormatProvider? provider)` [#](#method-tostring-iformatprovider) 

Inherited from Enum

 `Obsolete("The provider argument is not used. Use ToString() instead.")` 

Parameters

**provider IFormatProvider? required**

Returns

 `string` 

 `public string ToString(string? format, IFormatProvider? provider)` [#](#method-tostring-string-iformatprovider) 

Inherited from Enum

 `Obsolete("The provider argument is not used. Use ToString(String) instead.")` 

Parameters

**format string? required**

**provider IFormatProvider? required**

Returns

 `string` 

## Values

 `public const GraphClusterMode Explicit` [#](#field-explicit) 

[GraphClusterOptions.cs:48](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphClusterOptions.cs#L48)

Use only clusters declared on the scene.

Value: `0`

 `public const GraphClusterMode ByGroup` [#](#field-bygroup) 

[GraphClusterOptions.cs:51](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphClusterOptions.cs#L51)

Derive cluster membership from node group ids while preserving explicit clusters that callers supplied.

Value: `1`

 `public const GraphClusterMode Adaptive` [#](#field-adaptive) 

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

Let the adapter derive communities from graph structure and level-of-detail budgets.

Value: `2`

 `public const GraphClusterMode Hybrid` [#](#field-hybrid) 

[GraphClusterOptions.cs:57](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphClusterOptions.cs#L57)

Use declared clusters first, then allow adaptive summaries for oversized communities.

Value: `3`

<!-- PowerForge markdown artifact sha256:6E4A3D29074EFBD65A68EC1EA75844A72E7A5D8F3DA091AAFA7F5F9B66F88744 -->
