API Reference
Class
GraphSceneStaticExtensions
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) #Returns:
IReadOnlyList<GraphSceneStageImageResult>Saves deterministic overview-to-detail graph stage images without creating interactive HTML.
Parameters
- scene ChartForgeX.Interactivity.GraphScene
- outputDirectory System.String
- fileNamePrefix System.String
- configure System.Action<ChartForgeX.Interactivity.Html.GraphSceneStageImageOptions>? = null
public static Byte[] ToGraphPng(GraphScene scene, GraphSceneStage? stage = null, Action<GraphSceneStaticRenderOptions>? configure = null) #Returns:
Byte[]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
public static String ToGraphSvg(GraphScene scene, GraphSceneStage? stage = null, Action<GraphSceneStaticRenderOptions>? configure = null) #Returns:
StringRenders 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
Inherited Methods
public virtual Boolean Equals(Object? obj) #Returns:
BooleanInherited from Object
Parameters
- obj Object?