API Reference
HtmlInteractiveTopologyRenderer
Renders topology charts with the adapter-owned browser interaction runtime.
Inheritance
- Object
- HtmlInteractiveTopologyRenderer
Constructors
public HtmlInteractiveTopologyRenderer() #Methods
public static String BuildInteractionScript(TopologyRenderOptions? options = null) #StringBuilds the raw JavaScript runtime for host-level asset registration.
Parameters
- options ChartForgeX.Topology.TopologyRenderOptions? = null
public String RenderFragment(TopologyChart chart, TopologyRenderOptions? options = null) #StringRenders a self-contained interactive topology HTML fragment.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- options ChartForgeX.Topology.TopologyRenderOptions? = null
public String RenderFragmentWithoutAssets(TopologyChart chart, TopologyRenderOptions? options = null) #StringRenders interactive topology markup without CSS or JavaScript assets.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- options ChartForgeX.Topology.TopologyRenderOptions? = null
public String RenderPage(TopologyChart chart, TopologyRenderOptions? options = null) #StringRenders a complete self-contained interactive topology HTML page.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- options ChartForgeX.Topology.TopologyRenderOptions? = null
public String RenderPage(TopologyChart chart, TopologyRenderOptions? options, HtmlAssetReferences? externalAssets) #StringRenders a complete interactive topology HTML page. When externalAssets is set, the interaction runtime is linked from its base path instead of inlined; write it once per bundle with HtmlInteractiveAssetFiles.TopologyScript using the same options. Page styles stay inline because they depend on the render options.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology to render.
- options ChartForgeX.Topology.TopologyRenderOptions?
- Optional render options.
- externalAssets ChartForgeX.Interactivity.Html.HtmlAssetReferences?
- Optional shared asset references; null inlines the runtime.
Returns
A complete HTML document.
public String RenderPresentationFragment(TopologyChart chart, Func<PreparedTopology, String> renderSvg, TopologyRenderOptions? options = null) #StringRenders a self-contained interactive fragment with producer-owned SVG over the adapter's prepared topology.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology whose metadata, scenarios and HTML controls are rendered.
- renderSvg System.Func<ChartForgeX.Topology.PreparedTopology, System.String>
- Exports trusted SVG from the supplied detached topology. Preserve its geometry, topology metadata and identity scope; the callback runs once after interactive scenario and graph-control policies are applied.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional topology and HTML render options; caller-owned options are not modified.
Returns
Interactive markup with inline CSS and JavaScript assets.
public String RenderPresentationFragmentWithoutAssets(TopologyChart chart, Func<PreparedTopology, String> renderSvg, TopologyRenderOptions? options = null) #StringRenders producer-owned topology SVG and interactive controls without CSS or JavaScript assets.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology whose metadata, scenarios and HTML controls are rendered.
- renderSvg System.Func<ChartForgeX.Topology.PreparedTopology, System.String>
- Exports trusted SVG from the supplied detached topology. Preserve its geometry, topology metadata and identity scope; the callback runs once after interactive scenario and graph-control policies are applied.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional topology and HTML render options; caller-owned options are not modified.
Returns
Interactive markup that expects the embedding host to register topology HTML assets.
public String RenderPresentationPage(TopologyChart chart, Func<PreparedTopology, String> renderSvg, TopologyRenderOptions? options = null, HtmlAssetReferences? externalAssets = null) #StringRenders a complete interactive page with producer-owned SVG over the adapter's prepared topology.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- The topology whose metadata, scenarios and HTML controls are rendered.
- renderSvg System.Func<ChartForgeX.Topology.PreparedTopology, System.String>
- Exports trusted SVG from the supplied detached topology, for example a script-free motion presentation. The callback runs once after interactive scenario and graph-control policies are applied. Retain the supplied geometry, topology metadata and SVG identity scope so browser controls target the same entities.
- options ChartForgeX.Topology.TopologyRenderOptions? = null
- Optional topology and HTML render options; caller-owned options are not modified.
- externalAssets ChartForgeX.Interactivity.Html.HtmlAssetReferences? = null
- Optional shared interaction runtime references; null inlines the runtime.
Returns
A complete HTML document whose viewport uses the prepared presentation's logical width.
Inherited Methods
public virtual Boolean Equals(Object? obj) #BooleanParameters
- obj Object?