API Reference
HtmlGraphExplorerRenderer
Renders GraphScene instances as self-contained dependency-free HTML graph explorers.
Inheritance
- Object
- HtmlGraphExplorerRenderer
Constructors
public HtmlGraphExplorerRenderer() #Methods
public static String BuildFragmentStyle() #StringGets the scoped graph explorer CSS that hosts can register once.
Returns
The raw graph explorer CSS.
public static String BuildInteractionScript() #StringGets the raw dependency-free graph explorer browser runtime.
Returns
The raw JavaScript graph explorer runtime.
public String RenderFragment(GraphScene scene, Action<HtmlGraphExplorerOptions>? configure = null) #StringRenders an embeddable graph explorer fragment containing scoped inline assets.
Parameters
- scene ChartForgeX.Interactivity.GraphScene
- The graph scene to render.
- configure System.Action<ChartForgeX.Interactivity.Html.HtmlGraphExplorerOptions>? = null
- Optional adapter configuration callback.
Returns
A self-contained HTML fragment.
public String RenderPage(GraphScene scene, Action<HtmlGraphExplorerOptions>? configure = null) #StringRenders a complete HTML page containing the graph explorer and its inline assets.
Parameters
- scene ChartForgeX.Interactivity.GraphScene
- The graph scene to render.
- configure System.Action<ChartForgeX.Interactivity.Html.HtmlGraphExplorerOptions>? = null
- Optional adapter configuration callback.
Returns
A complete self-contained HTML document.
public Byte[] RenderStaticPng(GraphScene scene, GraphSceneStage? stage = null, Action<GraphSceneStaticRenderOptions>? configure = null) #Byte[]Renders a complete graph or planned hierarchy stage as deterministic PNG bytes.
Parameters
- scene ChartForgeX.Interactivity.GraphScene
- stage ChartForgeX.Interactivity.GraphSceneStage? = null
- configure System.Action<ChartForgeX.Interactivity.Html.GraphSceneStaticRenderOptions>? = null
public String RenderStaticSvg(GraphScene scene, GraphSceneStage? stage = null, Action<GraphSceneStaticRenderOptions>? configure = null) #StringRenders a complete graph or planned hierarchy stage as deterministic, 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) #BooleanParameters
- obj Object?