# HtmlGraphPhysicsThread

Names where the graph explorer runs runtime physics.

 Enum  

`ChartForgeX.Interactivity.Html`

**Namespace**

`ChartForgeX.Interactivity.Html`

**Assembly**

`ChartForgeX.Interactivity.Html`

**Source**

[HtmlGraphExplorerOptions.cs:99](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/HtmlGraphExplorerOptions.cs#L99)

**Base**

`Enum`

**Implements**

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

**Modifiers**

sealed

Names where the graph explorer runs runtime physics.

## Inheritance

- Enum
- HtmlGraphPhysicsThread

## Usage

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

- Property [HtmlGraphExplorerOptions.PhysicsThread](/api/chartforgex-interactivity-html-htmlgraphexploreroptions/#property-physicsthread)
- Field [HtmlGraphPhysicsThread.Automatic](/api/chartforgex-interactivity-html-htmlgraphphysicsthread/#field-automatic)
- Field [HtmlGraphPhysicsThread.Main](/api/chartforgex-interactivity-html-htmlgraphphysicsthread/#field-main)

### Accepted by parameters 2

- Extension method [HtmlGraphExplorerOptions.PhysicsThread](/api/chartforgex-interactivity-html-htmlgraphexploreroptions/#extension-physicsthread-chartforgex-interactivity-html-htmlgraphexploreroptions-chartforgex-interactivity-html-htmlgraphphysicsthread) parameter `value`
- Method [HtmlGraphExplorerOptionsFluent.PhysicsThread](/api/chartforgex-interactivity-html-htmlgraphexploreroptionsfluent/#method-physicsthread-chartforgex-interactivity-html-htmlgraphexploreroptions-chartforgex-interactivity-html-htmlgraphphysicsthread) 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 HtmlGraphPhysicsThread Automatic` [#](#field-automatic) 

[HtmlGraphExplorerOptions.cs:101](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/HtmlGraphExplorerOptions.cs#L101)

Large scenes run physics in a worker; smaller ones, and pages that refuse the worker, on the main thread.

Value: `0`

 `public const HtmlGraphPhysicsThread Main` [#](#field-main) 

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

Physics always runs on the page's main thread, so no worker is created.

Value: `1`

<!-- PowerForge markdown artifact sha256:48B7C25AC528D0B76582ADCAF02C58687FB67B5E1EF6D99FF0ACF0B6343CDB8B -->
