# GraphSceneStaticExtensions

Provides script-free SVG and PNG export helpers for graph scenes and hierarchy stages.

 Class  

`ChartForgeX.Interactivity.Html`

**Namespace**

`ChartForgeX.Interactivity.Html`

**Assembly**

`ChartForgeX.Interactivity.Html`

**Source**

[GraphSceneStaticExtensions.cs:12](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/GraphSceneStaticExtensions.cs#L12)

**Modifiers**

static

Provides script-free SVG and PNG export helpers for graph scenes and hierarchy stages.

## Inheritance

- object
- GraphSceneStaticExtensions

 Filter members   

    Show inherited   

 

## Methods

 `public static IReadOnlyList<GraphSceneStageImageResult> SaveGraphStageImages(GraphScene scene, string outputDirectory, string fileNamePrefix, Action<GraphSceneStageImageOptions>? configure = null)` [#](#method-savegraphstageimages-chartforgex-interactivity-graphscene-string-string-action-chartforgex-interactivity-html-graphscenestageimageoptions) 

[GraphSceneStaticExtensions.cs:19](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/GraphSceneStaticExtensions.cs#L19)

Saves deterministic overview-to-detail graph stage images without creating interactive HTML.

Parameters

**scene ChartForgeX.Interactivity.GraphScene required**

**outputDirectory string required**

**fileNamePrefix string required**

**configure System.Action<ChartForgeX.Interactivity.Html.GraphSceneStageImageOptions>? = null optional**

Returns

 `IReadOnlyList<GraphSceneStageImageResult>` 

 `public static byte[] ToGraphPng(GraphScene scene, GraphSceneStage? stage = null, Action<GraphSceneStaticRenderOptions>? configure = null)` [#](#method-tographpng-chartforgex-interactivity-graphscene-chartforgex-interactivity-graphscenestage-action-chartforgex-interactivity-html-graphscenestaticrenderoptions) 

[GraphSceneStaticExtensions.cs:15](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/GraphSceneStaticExtensions.cs#L15)

Renders a graph scene or planned stage to PNG bytes without opening a browser.

Parameters

**scene ChartForgeX.Interactivity.GraphScene required**

**stage ChartForgeX.Interactivity.GraphSceneStage? = null optional**

**configure System.Action<ChartForgeX.Interactivity.Html.GraphSceneStaticRenderOptions>? = null optional**

Returns

 `byte[]` 

 `public static string ToGraphSvg(GraphScene scene, GraphSceneStage? stage = null, Action<GraphSceneStaticRenderOptions>? configure = null)` [#](#method-tographsvg-chartforgex-interactivity-graphscene-chartforgex-interactivity-graphscenestage-action-chartforgex-interactivity-html-graphscenestaticrenderoptions) 

[GraphSceneStaticExtensions.cs:12](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/GraphSceneStaticExtensions.cs#L12)

Renders a graph scene or planned stage to script-free SVG.

Parameters

**scene ChartForgeX.Interactivity.GraphScene required**

**stage ChartForgeX.Interactivity.GraphSceneStage? = null optional**

**configure System.Action<ChartForgeX.Interactivity.Html.GraphSceneStaticRenderOptions>? = null optional**

Returns

 `string` 

## 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:5D2FB80A3A8A57D6022EC4E21B9A36A368595C44E23C83F00BB01F2E5A567A6B -->
