Class
GraphSceneStaticExtensions
ChartForgeX.Interactivity.Html
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
- outputDirectory string
- fileNamePrefix string
- configure System.Action<ChartForgeX.Interactivity.Html.GraphSceneStageImageOptions>? = null
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
- stage ChartForgeX.Interactivity.GraphSceneStage? = null
- configure System.Action<ChartForgeX.Interactivity.Html.GraphSceneStaticRenderOptions>? = null
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
- stage ChartForgeX.Interactivity.GraphSceneStage? = null
- configure System.Action<ChartForgeX.Interactivity.Html.GraphSceneStaticRenderOptions>? = null
Returns
string