# GraphRepulsionPhysicsOptionsFluent

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

 Class  

`ChartForgeX.Interactivity`

**Namespace**

`ChartForgeX.Interactivity`

**Assembly**

`ChartForgeX.Interactivity`

**Modifiers**

static

The fluent methods of [GraphRepulsionPhysicsOptions](/api/chartforgex-interactivity-graphrepulsionphysicsoptions/), 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
- GraphRepulsionPhysicsOptionsFluent

 Filter members   

    Show inherited   

 

## Methods

 `public static GraphRepulsionPhysicsOptions AvoidOverlap(GraphRepulsionPhysicsOptions graphRepulsionPhysicsOptions, double value)` [#](#method-avoidoverlap-chartforgex-interactivity-graphrepulsionphysicsoptions-double) 

Sets [GraphPhysicsSolverOptions.AvoidOverlap](/api/chartforgex-interactivity-graphphysicssolveroptions/): Gets or sets how strongly node dimensions contribute to collision avoidance, from zero to one.

Parameters

**graphRepulsionPhysicsOptions ChartForgeX.Interactivity.GraphRepulsionPhysicsOptions required**

The instance.

**value double required**

The value.

Returns

 `GraphRepulsionPhysicsOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                                   // C# fluent
new global::ChartForgeX.Interactivity.GraphRepulsionPhysicsOptions { AvoidOverlap = value };    graphRepulsionPhysicsOptions.AvoidOverlap(value);
```

 `public static GraphRepulsionPhysicsOptions CentralGravity(GraphRepulsionPhysicsOptions graphRepulsionPhysicsOptions, double value)` [#](#method-centralgravity-chartforgex-interactivity-graphrepulsionphysicsoptions-double) 

Sets [GraphPhysicsSolverOptions.CentralGravity](/api/chartforgex-interactivity-graphphysicssolveroptions/): Gets or sets the attraction toward the graph center.

Parameters

**graphRepulsionPhysicsOptions ChartForgeX.Interactivity.GraphRepulsionPhysicsOptions required**

The instance.

**value double required**

The value.

Returns

 `GraphRepulsionPhysicsOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                                     // C# fluent
new global::ChartForgeX.Interactivity.GraphRepulsionPhysicsOptions { CentralGravity = value };    graphRepulsionPhysicsOptions.CentralGravity(value);
```

 `public static GraphRepulsionPhysicsOptions Damping(GraphRepulsionPhysicsOptions graphRepulsionPhysicsOptions, double value)` [#](#method-damping-chartforgex-interactivity-graphrepulsionphysicsoptions-double) 

Sets [GraphPhysicsSolverOptions.Damping](/api/chartforgex-interactivity-graphphysicssolveroptions/): Gets or sets how much velocity is discarded per simulation tick.

Parameters

**graphRepulsionPhysicsOptions ChartForgeX.Interactivity.GraphRepulsionPhysicsOptions required**

The instance.

**value double required**

The value.

Returns

 `GraphRepulsionPhysicsOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                              // C# fluent
new global::ChartForgeX.Interactivity.GraphRepulsionPhysicsOptions { Damping = value };    graphRepulsionPhysicsOptions.Damping(value);
```

 `public static GraphRepulsionPhysicsOptions NodeDistance(GraphRepulsionPhysicsOptions graphRepulsionPhysicsOptions, double value)` [#](#method-nodedistance-chartforgex-interactivity-graphrepulsionphysicsoptions-double) 

Sets [GraphRepulsionPhysicsOptions.NodeDistance](/api/chartforgex-interactivity-graphrepulsionphysicsoptions/): Gets or sets the effective radius of each node's repulsion field.

Parameters

**graphRepulsionPhysicsOptions ChartForgeX.Interactivity.GraphRepulsionPhysicsOptions required**

The instance.

**value double required**

The value.

Returns

 `GraphRepulsionPhysicsOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                                   // C# fluent
new global::ChartForgeX.Interactivity.GraphRepulsionPhysicsOptions { NodeDistance = value };    graphRepulsionPhysicsOptions.NodeDistance(value);
```

 `public static GraphRepulsionPhysicsOptions SpringConstant(GraphRepulsionPhysicsOptions graphRepulsionPhysicsOptions, double value)` [#](#method-springconstant-chartforgex-interactivity-graphrepulsionphysicsoptions-double) 

Sets [GraphPhysicsSolverOptions.SpringConstant](/api/chartforgex-interactivity-graphphysicssolveroptions/): Gets or sets the strength of edge springs.

Parameters

**graphRepulsionPhysicsOptions ChartForgeX.Interactivity.GraphRepulsionPhysicsOptions required**

The instance.

**value double required**

The value.

Returns

 `GraphRepulsionPhysicsOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                                     // C# fluent
new global::ChartForgeX.Interactivity.GraphRepulsionPhysicsOptions { SpringConstant = value };    graphRepulsionPhysicsOptions.SpringConstant(value);
```

 `public static GraphRepulsionPhysicsOptions SpringLength(GraphRepulsionPhysicsOptions graphRepulsionPhysicsOptions, double value)` [#](#method-springlength-chartforgex-interactivity-graphrepulsionphysicsoptions-double) 

Sets [GraphPhysicsSolverOptions.SpringLength](/api/chartforgex-interactivity-graphphysicssolveroptions/): Gets or sets the resting length of physics-enabled edges.

Parameters

**graphRepulsionPhysicsOptions ChartForgeX.Interactivity.GraphRepulsionPhysicsOptions required**

The instance.

**value double required**

The value.

Returns

 `GraphRepulsionPhysicsOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                                   // C# fluent
new global::ChartForgeX.Interactivity.GraphRepulsionPhysicsOptions { SpringLength = value };    graphRepulsionPhysicsOptions.SpringLength(value);
```

 `public static GraphRepulsionPhysicsOptions Strength(GraphRepulsionPhysicsOptions graphRepulsionPhysicsOptions, double value)` [#](#method-strength-chartforgex-interactivity-graphrepulsionphysicsoptions-double) 

Sets [GraphRepulsionPhysicsOptions.Strength](/api/chartforgex-interactivity-graphrepulsionphysicsoptions/): Gets or sets a multiplier for direct repulsion forces.

Parameters

**graphRepulsionPhysicsOptions ChartForgeX.Interactivity.GraphRepulsionPhysicsOptions required**

The instance.

**value double required**

The value.

Returns

 `GraphRepulsionPhysicsOptions` The same instance. 

Examples

```csharp
// C# initializer or property                                                               // C# fluent
new global::ChartForgeX.Interactivity.GraphRepulsionPhysicsOptions { Strength = value };    graphRepulsionPhysicsOptions.Strength(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:73F316DAFFB2FC0EEAB1598B79DEE2E7900AC50B7D161FDDA7B793DD3A5F1D78 -->
