API Reference
HtmlGraphExplorerRenderer
Renders GraphScene instances as self-contained dependency-free HTML graph explorers.
Inheritance
- Object
- HtmlGraphExplorerRenderer
Methods
BuildFragmentStyle() #Gets the scoped graph explorer CSS that hosts can register once.
Returns
The raw graph explorer CSS.
BuildInteractionScript() #Gets the raw dependency-free graph explorer browser runtime.
Returns
The raw JavaScript graph explorer runtime.
RenderFragment(ChartForgeX.Interactivity.GraphScene scene, System.Action{ChartForgeX.Interactivity.Html.HtmlGraphExplorerOptions} configure) #Renders 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}
- Optional adapter configuration callback.
Returns
A self-contained HTML fragment.
RenderPage(ChartForgeX.Interactivity.GraphScene scene, System.Action{ChartForgeX.Interactivity.Html.HtmlGraphExplorerOptions} configure) #Renders 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}
- Optional adapter configuration callback.
Returns
A complete self-contained HTML document.
RenderStaticPng(ChartForgeX.Interactivity.GraphScene arg1, ChartForgeX.Interactivity.GraphSceneStage arg2, System.Action{ChartForgeX.Interactivity.Html.GraphSceneStaticRenderOptions} arg3) #Renders a complete graph or planned hierarchy stage as deterministic PNG bytes.
Parameters
- arg1 ChartForgeX.Interactivity.GraphScene
- arg2 ChartForgeX.Interactivity.GraphSceneStage
- arg3 System.Action{ChartForgeX.Interactivity.Html.GraphSceneStaticRenderOptions}
RenderStaticSvg(ChartForgeX.Interactivity.GraphScene arg1, ChartForgeX.Interactivity.GraphSceneStage arg2, System.Action{ChartForgeX.Interactivity.Html.GraphSceneStaticRenderOptions} arg3) #Renders a complete graph or planned hierarchy stage as deterministic, script-free SVG.
Parameters
- arg1 ChartForgeX.Interactivity.GraphScene
- arg2 ChartForgeX.Interactivity.GraphSceneStage
- arg3 System.Action{ChartForgeX.Interactivity.Html.GraphSceneStaticRenderOptions}