# GraphPhysicsSolverOptions

Contains the spring, damping, gravity, and overlap settings shared by force solvers.

 Class  

`ChartForgeX.Interactivity`

**Namespace**

`ChartForgeX.Interactivity`

**Assembly**

`ChartForgeX.Interactivity`

**Source**

[GraphPhysicsOptions.cs:91](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphPhysicsOptions.cs#L91)

**Modifiers**

abstract

Contains the spring, damping, gravity, and overlap settings shared by force solvers.

## Inheritance

- object
- GraphPhysicsSolverOptions

## Derived Types

- [GraphBarnesHutPhysicsOptions](/api/chartforgex-interactivity-graphbarneshutphysicsoptions/)
- [GraphForceAtlas2PhysicsOptions](/api/chartforgex-interactivity-graphforceatlas2physicsoptions/)
- [GraphHierarchicalRepulsionPhysicsOptions](/api/chartforgex-interactivity-graphhierarchicalrepulsionphysicsoptions/)
- [GraphRepulsionPhysicsOptions](/api/chartforgex-interactivity-graphrepulsionphysicsoptions/)

 Filter members   

    Show inherited   

 

## 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 double CentralGravity { get; set; }` [#](#property-centralgravity) 

[GraphPhysicsOptions.cs:91](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphPhysicsOptions.cs#L91)

Gets or sets the attraction toward the graph center.

 `public double SpringLength { get; set; }` [#](#property-springlength) 

[GraphPhysicsOptions.cs:94](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphPhysicsOptions.cs#L94)

Gets or sets the resting length of physics-enabled edges.

 `public double SpringConstant { get; set; }` [#](#property-springconstant) 

[GraphPhysicsOptions.cs:97](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphPhysicsOptions.cs#L97)

Gets or sets the strength of edge springs.

 `public double Damping { get; set; }` [#](#property-damping) 

[GraphPhysicsOptions.cs:100](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphPhysicsOptions.cs#L100)

Gets or sets how much velocity is discarded per simulation tick.

 `public double AvoidOverlap { get; set; }` [#](#property-avoidoverlap) 

[GraphPhysicsOptions.cs:103](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphPhysicsOptions.cs#L103)

Gets or sets how strongly node dimensions contribute to collision avoidance, from zero to one.

<!-- PowerForge markdown artifact sha256:EB41A189050B8E4C5013818A8B6D91F5164C69A7F723A4E270CE97150E3F2D86 -->
