Skip to content
ChartForgeX
Class

GraphScenePatchExtensions

ChartForgeX.Interactivity

Namespace
ChartForgeX.Interactivity
Assembly
ChartForgeX.Interactivity
Modifiers
static

Applies typed incremental changes to graph scenes.

Inheritance

  • object
  • GraphScenePatchExtensions

Methods

public static GraphScenePatchResult ApplyPatch(GraphScene scene, GraphScenePatch patch) #

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.