Skip to content
ChartForgeX
Class

GraphSceneStaticExtensions

ChartForgeX.Interactivity.Html

Namespace
ChartForgeX.Interactivity.Html
Assembly
ChartForgeX.Interactivity.Html
Modifiers
static

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

Inheritance

  • object
  • GraphSceneStaticExtensions

Methods

public static IReadOnlyList<GraphSceneStageImageResult> SaveGraphStageImages(GraphScene scene, string outputDirectory, string fileNamePrefix, Action<GraphSceneStageImageOptions>? configure = null) #

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) #

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) #

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