# InteractiveTopologyExtensions

Provides adapter-owned interactive HTML output for topology charts.

 Class  

`ChartForgeX.Interactivity.Html`

**Namespace**

`ChartForgeX.Interactivity.Html`

**Assembly**

`ChartForgeX.Interactivity.Html`

**Source**

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

**Modifiers**

static

Provides adapter-owned interactive HTML output for topology charts.

## Inheritance

- object
- InteractiveTopologyExtensions

 Filter members   

    Show inherited   

 

## Methods

 SaveInteractiveHtml 3 overloads 

 `public static void SaveInteractiveHtml(TopologyChart chart, string path, TopologyRenderOptions? options = null)` [#](#method-saveinteractivehtml-chartforgex-topology-topologychart-string-chartforgex-topology-topologyrenderoptions) 

[InteractiveTopologyExtensions.cs:34](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/InteractiveTopologyExtensions.cs#L34)

Saves a complete self-contained interactive topology HTML page.

Parameters

**chart ChartForgeX.Topology.TopologyChart required**

**path string required**

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

 `public static void SaveInteractiveHtml(TopologyChart chart, string path, TopologyRenderOptions? options, Func<PreparedTopology, string> svgPresentation)` [#](#method-saveinteractivehtml-chartforgex-topology-topologychart-string-chartforgex-topology-topologyrenderoptions-func-chartforgex-topology-preparedtopology-system-string) 

[InteractiveTopologyExtensions.cs:41](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/InteractiveTopologyExtensions.cs#L41)

Saves interactive controls around a trusted detached SVG presentation of the same topology.

Parameters

**chart ChartForgeX.Topology.TopologyChart required**

**path string required**

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

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

 `public static void SaveInteractiveHtml(TopologyChart chart, string path, TopologyRenderOptions? options, Func<PreparedTopology, string>? svgPresentation = null, Action<HtmlChartLocalization>? configureLocalization = null)` [#](#member-57ef1c683a69d18dcf42615f) 

[InteractiveTopologyExtensions.cs:66](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/InteractiveTopologyExtensions.cs#L66)

Saves a localized interactive page, optionally around a trusted detached SVG presentation.

Parameters

**chart ChartForgeX.Topology.TopologyChart required**

**path string required**

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

**svgPresentation System.Func<ChartForgeX.Topology.PreparedTopology, string>? = null optional**

**configureLocalization System.Action<ChartForgeX.Interactivity.Html.HtmlChartLocalization>? = null optional**

 ToInteractiveHtmlFragment 2 overloads 

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

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

Renders a self-contained interactive topology HTML fragment.

Parameters

**chart ChartForgeX.Topology.TopologyChart required**

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

Returns

 `string` 

 `public static string ToInteractiveHtmlFragment(TopologyChart chart, TopologyRenderOptions? options, Action<HtmlChartLocalization> configureLocalization)` [#](#method-tointeractivehtmlfragment-chartforgex-topology-topologychart-chartforgex-topology-topologyrenderoptions-action-chartforgex-interactivity-html-htmlchartlocalization) 

[InteractiveTopologyExtensions.cs:57](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/InteractiveTopologyExtensions.cs#L57)

Renders an interactive fragment with localized control messages.

Parameters

**chart ChartForgeX.Topology.TopologyChart required**

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

**configureLocalization System.Action<ChartForgeX.Interactivity.Html.HtmlChartLocalization> required**

Returns

 `string` 

 ToInteractiveHtmlFragmentWithoutAssets 2 overloads 

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

[InteractiveTopologyExtensions.cs:17](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/InteractiveTopologyExtensions.cs#L17)

Renders interactive topology markup without renderer-owned assets.

Parameters

**chart ChartForgeX.Topology.TopologyChart required**

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

Returns

 `string` 

 `public static string ToInteractiveHtmlFragmentWithoutAssets(TopologyChart chart, TopologyRenderOptions? options, Action<HtmlChartLocalization> configureLocalization)` [#](#method-tointeractivehtmlfragmentwithoutassets-chartforgex-topology-topologychart-chartforgex-topology-topologyrenderoptions-action-chartforgex-interactivity-html-htmlchartlocalization) 

[InteractiveTopologyExtensions.cs:61](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/InteractiveTopologyExtensions.cs#L61)

Renders localized controls without renderer-owned stylesheet or script assets.

Parameters

**chart ChartForgeX.Topology.TopologyChart required**

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

**configureLocalization System.Action<ChartForgeX.Interactivity.Html.HtmlChartLocalization> required**

Returns

 `string` 

 ToInteractiveHtmlPage 3 overloads 

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

[InteractiveTopologyExtensions.cs:22](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/InteractiveTopologyExtensions.cs#L22)

Renders a complete self-contained interactive topology HTML page.

Parameters

**chart ChartForgeX.Topology.TopologyChart required**

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

Returns

 `string` 

 `public static string ToInteractiveHtmlPage(TopologyChart chart, TopologyRenderOptions? options, Func<PreparedTopology, string> svgPresentation)` [#](#method-tointeractivehtmlpage-chartforgex-topology-topologychart-chartforgex-topology-topologyrenderoptions-func-chartforgex-topology-preparedtopology-system-string) 

[InteractiveTopologyExtensions.cs:28](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/InteractiveTopologyExtensions.cs#L28)

Renders controls around trusted SVG created from the adapter's detached interactive topology.

Parameters

**chart ChartForgeX.Topology.TopologyChart required**

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

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

Returns

 `string` 

 `public static string ToInteractiveHtmlPage(TopologyChart chart, TopologyRenderOptions? options, Func<PreparedTopology, string>? svgPresentation = null, Action<HtmlChartLocalization>? configureLocalization = null)` [#](#member-c2f9e525fc754f003dc90050) 

[InteractiveTopologyExtensions.cs:51](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/InteractiveTopologyExtensions.cs#L51)

Renders a localized interactive page, optionally around a trusted detached SVG presentation.

Parameters

**chart ChartForgeX.Topology.TopologyChart required**

The source topology.

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

Native render options, or null for the chart defaults.

**svgPresentation System.Func<ChartForgeX.Topology.PreparedTopology, string>? = null optional**

Optional producer for the adapter's detached prepared topology.

**configureLocalization System.Action<ChartForgeX.Interactivity.Html.HtmlChartLocalization>? = null optional**

Optional control-message configuration; authored facts remain unchanged.

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?` 

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