# HtmlInteractiveTopologyRenderer

Renders topology charts with the adapter-owned browser interaction runtime.

 Class  

`ChartForgeX.Interactivity.Html`

**Namespace**

`ChartForgeX.Interactivity.Html`

**Assembly**

`ChartForgeX.Interactivity.Html`

**Source**

[HtmlInteractiveTopologyRenderer.cs:12](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/HtmlInteractiveTopologyRenderer.cs#L12)

**Modifiers**

sealed

Renders topology charts with the adapter-owned browser interaction runtime.

## Inheritance

- object
- HtmlInteractiveTopologyRenderer

 Filter members   

    Show inherited   

 

## Constructors

 `public HtmlInteractiveTopologyRenderer()` [#](#constructor-ctor) 

[HtmlInteractiveTopologyRenderer.cs:12](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/HtmlInteractiveTopologyRenderer.cs#L12)

## Methods

 `public HtmlChartSection PrepareHierarchySection(TopologyChart chart, TopologyHierarchyView? view = null, Action<HtmlChartInteractionOptions>? configure = null)` [#](#method-preparehierarchysection-chartforgex-topology-topologychart-chartforgex-topology-topologyhierarchyview-action-chartforgex-interactivity-html-htmlchartinteractionoptions) 

[HtmlInteractiveTopologyRenderer.Hierarchy.cs:21](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/HtmlInteractiveTopologyRenderer.Hierarchy.cs#L21)

Prepares genuine native organization hierarchy markup, exports and optional adaptive drawing.

Parameters

**chart ChartForgeX.Topology.TopologyChart required**

An unchanged layered topology created from explicit hierarchy/team inputs.

**view ChartForgeX.Topology.TopologyHierarchyView? = null optional**

Copied collapsed node IDs, sibling tie order and native direction, or null for the full source.

**configure System.Action<ChartForgeX.Interactivity.Html.HtmlChartInteractionOptions>? = null optional**

Optional HTML configuration. Numeric brush, chart comparison, scenarios, progress editing and axis navigators are unavailable.

Returns

 `HtmlChartSection` A section using the common native acceptance, selection, keyboard, export and bookmark owner. 

 `public string RenderFragment(TopologyChart chart, TopologyRenderOptions? options = null)` [#](#method-renderfragment-chartforgex-topology-topologychart-chartforgex-topology-topologyrenderoptions) 

[HtmlInteractiveTopologyRenderer.cs:18](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/HtmlInteractiveTopologyRenderer.cs#L18)

Renders a self-contained interactive topology HTML fragment.

Parameters

**chart ChartForgeX.Topology.TopologyChart required**

**options ChartForgeX.Topology.TopologyRenderOptions? = null optional**

Returns

 `string` 

 `public string RenderFragmentWithoutAssets(TopologyChart chart, TopologyRenderOptions? options = null)` [#](#method-renderfragmentwithoutassets-chartforgex-topology-topologychart-chartforgex-topology-topologyrenderoptions) 

[HtmlInteractiveTopologyRenderer.cs:30](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/HtmlInteractiveTopologyRenderer.cs#L30)

Renders interactive topology markup without CSS or JavaScript assets.

Parameters

**chart ChartForgeX.Topology.TopologyChart required**

**options ChartForgeX.Topology.TopologyRenderOptions? = null optional**

Returns

 `string` 

 RenderPage 2 overloads 

 `public string RenderPage(TopologyChart chart, TopologyRenderOptions? options = null)` [#](#method-renderpage-chartforgex-topology-topologychart-chartforgex-topology-topologyrenderoptions) 

[HtmlInteractiveTopologyRenderer.cs:36](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/HtmlInteractiveTopologyRenderer.cs#L36)

Renders a complete self-contained interactive topology HTML page.

Parameters

**chart ChartForgeX.Topology.TopologyChart required**

**options ChartForgeX.Topology.TopologyRenderOptions? = null optional**

Returns

 `string` 

 `public string RenderPage(TopologyChart chart, TopologyRenderOptions? options, HtmlAssetReferences? externalAssets)` [#](#method-renderpage-chartforgex-topology-topologychart-chartforgex-topology-topologyrenderoptions-chartforgex-interactivity-html-htmlassetreferences) 

[HtmlInteractiveTopologyRenderer.cs:49](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/HtmlInteractiveTopologyRenderer.cs#L49)

Renders 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](/api/chartforgex-interactivity-html-htmlinteractiveassetfiles/) using the same options. Page styles stay inline because they depend on the render options.

Parameters

**chart ChartForgeX.Topology.TopologyChart required**

The topology to render.

**options ChartForgeX.Topology.TopologyRenderOptions? required**

Optional render options.

**externalAssets ChartForgeX.Interactivity.Html.HtmlAssetReferences? required**

Optional shared asset references; null inlines the runtime.

Returns

 `string` A complete HTML document. 

 `public string RenderPresentationFragment(TopologyChart chart, Func<PreparedTopology, string> renderSvg, TopologyRenderOptions? options = null)` [#](#method-renderpresentationfragment-chartforgex-topology-topologychart-func-chartforgex-topology-preparedtopology-system-string-chartforgex-topology-topologyrenderoptions) 

[HtmlInteractiveTopologyRenderer.cs:74](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/HtmlInteractiveTopologyRenderer.cs#L74)

Renders a self-contained interactive fragment with producer-owned SVG over the adapter's prepared topology.

Parameters

**chart ChartForgeX.Topology.TopologyChart required**

The topology whose metadata, scenarios and HTML controls are rendered.

**renderSvg System.Func<ChartForgeX.Topology.PreparedTopology, string> required**

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**

Optional topology and HTML render options; caller-owned options are not modified.

Returns

 `string` Interactive markup with inline CSS and JavaScript assets. 

 `public string RenderPresentationFragmentWithoutAssets(TopologyChart chart, Func<PreparedTopology, string> renderSvg, TopologyRenderOptions? options = null)` [#](#method-renderpresentationfragmentwithoutassets-chartforgex-topology-topologychart-func-chartforgex-topology-preparedtopology-system-string-chartforgex-topology-topologyrenderoptions) 

[HtmlInteractiveTopologyRenderer.cs:88](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/HtmlInteractiveTopologyRenderer.cs#L88)

Renders producer-owned topology SVG and interactive controls without CSS or JavaScript assets.

Parameters

**chart ChartForgeX.Topology.TopologyChart required**

The topology whose metadata, scenarios and HTML controls are rendered.

**renderSvg System.Func<ChartForgeX.Topology.PreparedTopology, string> required**

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**

Optional topology and HTML render options; caller-owned options are not modified.

Returns

 `string` 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)` [#](#member-63063aca8ce398ead50bada5) 

[HtmlInteractiveTopologyRenderer.cs:62](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/HtmlInteractiveTopologyRenderer.cs#L62)

Renders a complete interactive page with producer-owned SVG over the adapter's prepared topology.

Parameters

**chart ChartForgeX.Topology.TopologyChart required**

The topology whose metadata, scenarios and HTML controls are rendered.

**renderSvg System.Func<ChartForgeX.Topology.PreparedTopology, string> required**

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**

Optional topology and HTML render options; caller-owned options are not modified.

**externalAssets ChartForgeX.Interactivity.Html.HtmlAssetReferences? = null optional**

Optional shared interaction runtime references; null inlines the runtime.

Returns

 `string` A complete HTML document whose viewport uses the prepared presentation's logical width. 

 `public static string Script(TopologyRenderOptions? options = null)` [#](#method-script-chartforgex-topology-topologyrenderoptions) 

[HtmlInteractiveTopologyRenderer.cs:119](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/HtmlInteractiveTopologyRenderer.cs#L119)

Builds the raw JavaScript runtime for host-level asset registration.

Parameters

**options ChartForgeX.Topology.TopologyRenderOptions? = null optional**

Returns

 `string` 

## Inherited Methods

 `public virtual bool Equals(object? obj)` [#](#method-equals-object) 

Inherited from object

Parameters

**obj object? required**

Returns

 `bool` 

 `public virtual int GetHashCode()` [#](#method-gethashcode) 

Inherited from object

Returns

 `int` 

 `public Type GetType()` [#](#method-gettype) 

Inherited from object

Returns

 `Type` 

 `public virtual string? ToString()` [#](#method-tostring) 

Inherited from object

Returns

 `string?` 

## Properties

 `public HtmlChartLocalization Localization { get; }` [#](#property-localization) 

[HtmlInteractiveTopologyRenderer.cs:12](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/HtmlInteractiveTopologyRenderer.cs#L12)

Localizes adapter controls independently from native topology facts and descriptions.

<!-- PowerForge markdown artifact sha256:EA6D2580A97F952DF5E4A1FFE6940E35B37C2992DBD27F6ADC6CDF367F4B6D97 -->
