# GraphInteractionOptions

Controls reusable graph pointer and topology-change behavior.

 Class  

`ChartForgeX.Interactivity`

**Namespace**

`ChartForgeX.Interactivity`

**Assembly**

`ChartForgeX.Interactivity`

**Source**

[GraphInteractionOptions.cs:10](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphInteractionOptions.cs#L10)

**Modifiers**

sealed

**Attributes**

 `Fluent` 

Controls reusable graph pointer and topology-change behavior.

## Inheritance

- object
- GraphInteractionOptions

## Usage

 Explore 31 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 15

- Extension method [GraphInteractionOptions.DragMomentum](/api/chartforgex-interactivity-graphinteractionoptions/#extension-dragmomentum-chartforgex-interactivity-graphinteractionoptions-double)
- Extension method [GraphInteractionOptions.NodeDragBehavior](/api/chartforgex-interactivity-graphinteractionoptions/#extension-nodedragbehavior-chartforgex-interactivity-graphinteractionoptions-chartforgex-interactivity-graphnodedragbehavior)
- Extension method [GraphInteractionOptions.ReheatAfterClusterChange](/api/chartforgex-interactivity-graphinteractionoptions/#extension-reheatafterclusterchange-chartforgex-interactivity-graphinteractionoptions-boolean)
- Extension method [GraphInteractionOptions.ReheatAfterDrag](/api/chartforgex-interactivity-graphinteractionoptions/#extension-reheatafterdrag-chartforgex-interactivity-graphinteractionoptions-boolean)
- Extension method [GraphInteractionOptions.ReheatAfterGraphChange](/api/chartforgex-interactivity-graphinteractionoptions/#extension-reheataftergraphchange-chartforgex-interactivity-graphinteractionoptions-boolean)
- Extension method [GraphInteractionOptions.ReheatAfterHierarchyChange](/api/chartforgex-interactivity-graphinteractionoptions/#extension-reheatafterhierarchychange-chartforgex-interactivity-graphinteractionoptions-boolean)
- Extension method [GraphInteractionOptions.SimulateConnectedNodesWhileDragging](/api/chartforgex-interactivity-graphinteractionoptions/#extension-simulateconnectednodeswhiledragging-chartforgex-interactivity-graphinteractionoptions-boolean)
- Method [GraphInteractionOptionsFluent.DragMomentum](/api/chartforgex-interactivity-graphinteractionoptionsfluent/#method-dragmomentum-chartforgex-interactivity-graphinteractionoptions-double)
- Method [GraphInteractionOptionsFluent.NodeDragBehavior](/api/chartforgex-interactivity-graphinteractionoptionsfluent/#method-nodedragbehavior-chartforgex-interactivity-graphinteractionoptions-chartforgex-interactivity-graphnodedragbehavior)
- Method [GraphInteractionOptionsFluent.ReheatAfterClusterChange](/api/chartforgex-interactivity-graphinteractionoptionsfluent/#method-reheatafterclusterchange-chartforgex-interactivity-graphinteractionoptions-boolean)
- Method [GraphInteractionOptionsFluent.ReheatAfterDrag](/api/chartforgex-interactivity-graphinteractionoptionsfluent/#method-reheatafterdrag-chartforgex-interactivity-graphinteractionoptions-boolean)
- Method [GraphInteractionOptionsFluent.ReheatAfterGraphChange](/api/chartforgex-interactivity-graphinteractionoptionsfluent/#method-reheataftergraphchange-chartforgex-interactivity-graphinteractionoptions-boolean)
- Method [GraphInteractionOptionsFluent.ReheatAfterHierarchyChange](/api/chartforgex-interactivity-graphinteractionoptionsfluent/#method-reheatafterhierarchychange-chartforgex-interactivity-graphinteractionoptions-boolean)
- Method [GraphInteractionOptionsFluent.SimulateConnectedNodesWhileDragging](/api/chartforgex-interactivity-graphinteractionoptionsfluent/#method-simulateconnectednodeswhiledragging-chartforgex-interactivity-graphinteractionoptions-boolean)
- Property [GraphSceneOptions.Interaction](/api/chartforgex-interactivity-graphsceneoptions/#property-interaction)

### Accepted by parameters 16

- Extension method [GraphInteractionOptions.DragMomentum](/api/chartforgex-interactivity-graphinteractionoptions/#extension-dragmomentum-chartforgex-interactivity-graphinteractionoptions-double) parameter `graphInteractionOptions`
- Extension method [GraphInteractionOptions.NodeDragBehavior](/api/chartforgex-interactivity-graphinteractionoptions/#extension-nodedragbehavior-chartforgex-interactivity-graphinteractionoptions-chartforgex-interactivity-graphnodedragbehavior) parameter `graphInteractionOptions`
- Extension method [GraphInteractionOptions.ReheatAfterClusterChange](/api/chartforgex-interactivity-graphinteractionoptions/#extension-reheatafterclusterchange-chartforgex-interactivity-graphinteractionoptions-boolean) parameter `graphInteractionOptions`
- Extension method [GraphInteractionOptions.ReheatAfterDrag](/api/chartforgex-interactivity-graphinteractionoptions/#extension-reheatafterdrag-chartforgex-interactivity-graphinteractionoptions-boolean) parameter `graphInteractionOptions`
- Extension method [GraphInteractionOptions.ReheatAfterGraphChange](/api/chartforgex-interactivity-graphinteractionoptions/#extension-reheataftergraphchange-chartforgex-interactivity-graphinteractionoptions-boolean) parameter `graphInteractionOptions`
- Extension method [GraphInteractionOptions.ReheatAfterHierarchyChange](/api/chartforgex-interactivity-graphinteractionoptions/#extension-reheatafterhierarchychange-chartforgex-interactivity-graphinteractionoptions-boolean) parameter `graphInteractionOptions`
- Extension method [GraphInteractionOptions.SimulateConnectedNodesWhileDragging](/api/chartforgex-interactivity-graphinteractionoptions/#extension-simulateconnectednodeswhiledragging-chartforgex-interactivity-graphinteractionoptions-boolean) parameter `graphInteractionOptions`
- Method [GraphInteractionOptionsFluent.DragMomentum](/api/chartforgex-interactivity-graphinteractionoptionsfluent/#method-dragmomentum-chartforgex-interactivity-graphinteractionoptions-double) parameter `graphInteractionOptions`
- Method [GraphInteractionOptionsFluent.NodeDragBehavior](/api/chartforgex-interactivity-graphinteractionoptionsfluent/#method-nodedragbehavior-chartforgex-interactivity-graphinteractionoptions-chartforgex-interactivity-graphnodedragbehavior) parameter `graphInteractionOptions`
- Method [GraphInteractionOptionsFluent.ReheatAfterClusterChange](/api/chartforgex-interactivity-graphinteractionoptionsfluent/#method-reheatafterclusterchange-chartforgex-interactivity-graphinteractionoptions-boolean) parameter `graphInteractionOptions`
- Method [GraphInteractionOptionsFluent.ReheatAfterDrag](/api/chartforgex-interactivity-graphinteractionoptionsfluent/#method-reheatafterdrag-chartforgex-interactivity-graphinteractionoptions-boolean) parameter `graphInteractionOptions`
- Method [GraphInteractionOptionsFluent.ReheatAfterGraphChange](/api/chartforgex-interactivity-graphinteractionoptionsfluent/#method-reheataftergraphchange-chartforgex-interactivity-graphinteractionoptions-boolean) parameter `graphInteractionOptions`
- Method [GraphInteractionOptionsFluent.ReheatAfterHierarchyChange](/api/chartforgex-interactivity-graphinteractionoptionsfluent/#method-reheatafterhierarchychange-chartforgex-interactivity-graphinteractionoptions-boolean) parameter `graphInteractionOptions`
- Method [GraphInteractionOptionsFluent.SimulateConnectedNodesWhileDragging](/api/chartforgex-interactivity-graphinteractionoptionsfluent/#method-simulateconnectednodeswhiledragging-chartforgex-interactivity-graphinteractionoptions-boolean) parameter `graphInteractionOptions`
- Extension method [GraphSceneOptions.Interaction](/api/chartforgex-interactivity-graphsceneoptions/#extension-interaction-chartforgex-interactivity-graphsceneoptions-action-chartforgex-interactivity-graphinteractionoptions) parameter `configure`
- Method [GraphSceneOptionsFluent.Interaction](/api/chartforgex-interactivity-graphsceneoptionsfluent/#method-interaction-chartforgex-interactivity-graphsceneoptions-action-chartforgex-interactivity-graphinteractionoptions) parameter `configure`

 Filter members   

    Show inherited   

 

## Constructors

 `public GraphInteractionOptions()` [#](#constructor-ctor) 

[GraphInteractionOptions.cs:10](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphInteractionOptions.cs#L10)

## 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 GraphNodeDragBehavior NodeDragBehavior { get; set; }` [#](#property-nodedragbehavior) 

[GraphInteractionOptions.cs:10](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphInteractionOptions.cs#L10)

Gets or sets what happens to a node after it is dragged.

 `public bool SimulateConnectedNodesWhileDragging { get; set; }` [#](#property-simulateconnectednodeswhiledragging) 

[GraphInteractionOptions.cs:13](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphInteractionOptions.cs#L13)

Gets or sets whether connected movable nodes continue responding while a node is held.

 `public double DragMomentum { get; set; }` [#](#property-dragmomentum) 

[GraphInteractionOptions.cs:16](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphInteractionOptions.cs#L16)

Gets or sets how much recent pointer velocity is transferred to a released node, from zero to one.

 `public bool ReheatAfterDrag { get; set; }` [#](#property-reheatafterdrag) 

[GraphInteractionOptions.cs:19](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphInteractionOptions.cs#L19)

Gets or sets whether runtime physics reheats after a node is dropped.

 `public bool ReheatAfterClusterChange { get; set; }` [#](#property-reheatafterclusterchange) 

[GraphInteractionOptions.cs:22](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphInteractionOptions.cs#L22)

Gets or sets whether runtime physics reheats after clusters expand or collapse.

 `public bool ReheatAfterHierarchyChange { get; set; }` [#](#property-reheatafterhierarchychange) 

[GraphInteractionOptions.cs:25](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphInteractionOptions.cs#L25)

Gets or sets whether runtime physics reheats after hierarchy navigation changes visible nodes.

 `public bool ReheatAfterGraphChange { get; set; }` [#](#property-reheataftergraphchange) 

[GraphInteractionOptions.cs:28](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphInteractionOptions.cs#L28)

Gets or sets whether runtime physics reheats after incremental nodes, edges, or clusters change.

## Extension Methods

 `public static GraphInteractionOptions DragMomentum(GraphInteractionOptions graphInteractionOptions, double value)` [#](#extension-dragmomentum-chartforgex-interactivity-graphinteractionoptions-double) 

Sets [GraphInteractionOptions.DragMomentum](/api/chartforgex-interactivity-graphinteractionoptions/): Gets or sets how much recent pointer velocity is transferred to a released node, from zero to one.

Parameters

**graphInteractionOptions ChartForgeX.Interactivity.GraphInteractionOptions required**

The instance.

**value double required**

The value.

Returns

 `GraphInteractionOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                              // C# fluent
new global::ChartForgeX.Interactivity.GraphInteractionOptions { DragMomentum = value };    graphInteractionOptions.DragMomentum(value);
```

 `public static GraphInteractionOptions NodeDragBehavior(GraphInteractionOptions graphInteractionOptions, GraphNodeDragBehavior value)` [#](#extension-nodedragbehavior-chartforgex-interactivity-graphinteractionoptions-chartforgex-interactivity-graphnodedragbehavior) 

Sets [GraphInteractionOptions.NodeDragBehavior](/api/chartforgex-interactivity-graphinteractionoptions/): Gets or sets what happens to a node after it is dragged.

Parameters

**graphInteractionOptions ChartForgeX.Interactivity.GraphInteractionOptions required**

The instance.

**value ChartForgeX.Interactivity.GraphNodeDragBehavior required**

The value.

Returns

 `GraphInteractionOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                                  // C# fluent
new global::ChartForgeX.Interactivity.GraphInteractionOptions { NodeDragBehavior = value };    graphInteractionOptions.NodeDragBehavior(value);
```

 `public static GraphInteractionOptions ReheatAfterClusterChange(GraphInteractionOptions graphInteractionOptions, bool value = true)` [#](#extension-reheatafterclusterchange-chartforgex-interactivity-graphinteractionoptions-boolean) 

Sets [GraphInteractionOptions.ReheatAfterClusterChange](/api/chartforgex-interactivity-graphinteractionoptions/): Gets or sets whether runtime physics reheats after clusters expand or collapse.

Parameters

**graphInteractionOptions ChartForgeX.Interactivity.GraphInteractionOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `GraphInteractionOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                                          // C# fluent
new global::ChartForgeX.Interactivity.GraphInteractionOptions { ReheatAfterClusterChange = value };    graphInteractionOptions.ReheatAfterClusterChange(value);
```

 `public static GraphInteractionOptions ReheatAfterDrag(GraphInteractionOptions graphInteractionOptions, bool value = true)` [#](#extension-reheatafterdrag-chartforgex-interactivity-graphinteractionoptions-boolean) 

Sets [GraphInteractionOptions.ReheatAfterDrag](/api/chartforgex-interactivity-graphinteractionoptions/): Gets or sets whether runtime physics reheats after a node is dropped.

Parameters

**graphInteractionOptions ChartForgeX.Interactivity.GraphInteractionOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `GraphInteractionOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                                 // C# fluent
new global::ChartForgeX.Interactivity.GraphInteractionOptions { ReheatAfterDrag = value };    graphInteractionOptions.ReheatAfterDrag(value);
```

 `public static GraphInteractionOptions ReheatAfterGraphChange(GraphInteractionOptions graphInteractionOptions, bool value = true)` [#](#extension-reheataftergraphchange-chartforgex-interactivity-graphinteractionoptions-boolean) 

Sets [GraphInteractionOptions.ReheatAfterGraphChange](/api/chartforgex-interactivity-graphinteractionoptions/): Gets or sets whether runtime physics reheats after incremental nodes, edges, or clusters change.

Parameters

**graphInteractionOptions ChartForgeX.Interactivity.GraphInteractionOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `GraphInteractionOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                                        // C# fluent
new global::ChartForgeX.Interactivity.GraphInteractionOptions { ReheatAfterGraphChange = value };    graphInteractionOptions.ReheatAfterGraphChange(value);
```

 `public static GraphInteractionOptions ReheatAfterHierarchyChange(GraphInteractionOptions graphInteractionOptions, bool value = true)` [#](#extension-reheatafterhierarchychange-chartforgex-interactivity-graphinteractionoptions-boolean) 

Sets [GraphInteractionOptions.ReheatAfterHierarchyChange](/api/chartforgex-interactivity-graphinteractionoptions/): Gets or sets whether runtime physics reheats after hierarchy navigation changes visible nodes.

Parameters

**graphInteractionOptions ChartForgeX.Interactivity.GraphInteractionOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `GraphInteractionOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                                            // C# fluent
new global::ChartForgeX.Interactivity.GraphInteractionOptions { ReheatAfterHierarchyChange = value };    graphInteractionOptions.ReheatAfterHierarchyChange(value);
```

 `public static GraphInteractionOptions SimulateConnectedNodesWhileDragging(GraphInteractionOptions graphInteractionOptions, bool value = true)` [#](#extension-simulateconnectednodeswhiledragging-chartforgex-interactivity-graphinteractionoptions-boolean) 

Sets [GraphInteractionOptions.SimulateConnectedNodesWhileDragging](/api/chartforgex-interactivity-graphinteractionoptions/): Gets or sets whether connected movable nodes continue responding while a node is held.

Parameters

**graphInteractionOptions ChartForgeX.Interactivity.GraphInteractionOptions required**

The instance.

**value bool = true optional**

The value; true when omitted.

Returns

 `GraphInteractionOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                                                     // C# fluent
new global::ChartForgeX.Interactivity.GraphInteractionOptions { SimulateConnectedNodesWhileDragging = value };    graphInteractionOptions.SimulateConnectedNodesWhileDragging(value);
```

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