# GraphClusterRuleFluent

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

 Class  

`ChartForgeX.Interactivity`

**Namespace**

`ChartForgeX.Interactivity`

**Assembly**

`ChartForgeX.Interactivity`

**Modifiers**

static

The fluent methods of [GraphClusterRule](/api/chartforgex-interactivity-graphclusterrule/), 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
- GraphClusterRuleFluent

 Filter members   

    Show inherited   

 

## Methods

 `public static GraphClusterRule Collapsed(GraphClusterRule graphClusterRule, bool value = true)` [#](#method-collapsed-chartforgex-interactivity-graphclusterrule-boolean) 

Sets [GraphClusterRule.Collapsed](/api/chartforgex-interactivity-graphclusterrule/): Gets or sets whether the produced clusters start collapsed.

Parameters

**graphClusterRule ChartForgeX.Interactivity.GraphClusterRule required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `GraphClusterRule` The same instance. 

Examples

```csharp
// C# initializer or property          // C# fluent
graphClusterRule.Collapsed = value;    graphClusterRule.Collapsed(value);
```

 `public static GraphClusterRule Kind(GraphClusterRule graphClusterRule, string? value)` [#](#method-kind-chartforgex-interactivity-graphclusterrule-string) 

Sets [GraphClusterRule.Kind](/api/chartforgex-interactivity-graphclusterrule/): Gets or sets the cluster kind written to the produced clusters. Defaults to hub, outlier, connection or group.

Parameters

**graphClusterRule ChartForgeX.Interactivity.GraphClusterRule required**

The instance.

**value string? required**

The value.

Returns

 `GraphClusterRule` The same instance. 

Examples

```csharp
// C# initializer or property     // C# fluent
graphClusterRule.Kind = value;    graphClusterRule.Kind(value);
```

 `public static GraphClusterRule Label(GraphClusterRule graphClusterRule, string? value)` [#](#method-label-chartforgex-interactivity-graphclusterrule-string) 

Sets [GraphClusterRule.Label](/api/chartforgex-interactivity-graphclusterrule/): Gets or sets the cluster label. Predicate rules default to the rule id; structural rules default to the hub, anchor or start node label.

Parameters

**graphClusterRule ChartForgeX.Interactivity.GraphClusterRule required**

The instance.

**value string? required**

The value.

Returns

 `GraphClusterRule` The same instance. 

Examples

```csharp
// C# initializer or property      // C# fluent
graphClusterRule.Label = value;    graphClusterRule.Label(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:3A356949381AECB3AE0828DDC504709357DD6B3A29955DD0EF1E6CC677E4C33B -->
