# GraphScenePatchExtensions

Applies typed incremental changes to graph scenes.

 Class  

`ChartForgeX.Interactivity`

**Namespace**

`ChartForgeX.Interactivity`

**Assembly**

`ChartForgeX.Interactivity`

**Source**

[GraphScenePatch.cs:64](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphScenePatch.cs#L64)

**Modifiers**

static

Applies typed incremental changes to graph scenes.

## Inheritance

- object
- GraphScenePatchExtensions

 Filter members   

    Show inherited   

 

## Methods

 `public static GraphScenePatchResult ApplyPatch(GraphScene scene, GraphScenePatch patch)` [#](#method-applypatch-chartforgex-interactivity-graphscene-chartforgex-interactivity-graphscenepatch) 

[GraphScenePatch.cs:64](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity/GraphScenePatch.cs#L64)

Applies a patch atomically and validates the complete scene before committing it.

Parameters

**scene ChartForgeX.Interactivity.GraphScene required**

The graph document to update.

**patch ChartForgeX.Interactivity.GraphScenePatch required**

The requested additions, replacements, and removals.

Returns

 `GraphScenePatchResult` The resulting graph document counts. 

## 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:88AFC15B7FD82615A3903F602167FF62A459BBF3CB34AF7193535C66643BAB31 -->
