Skip to content
ChartForgeX
Class

InteractiveTopologyExtensions

ChartForgeX.Interactivity.Html

Namespace
ChartForgeX.Interactivity.Html
Assembly
ChartForgeX.Interactivity.Html
Modifiers
static

Provides adapter-owned interactive HTML output for topology charts.

Inheritance

  • object
  • InteractiveTopologyExtensions

Methods

SaveInteractiveHtml 3 overloads
public static void SaveInteractiveHtml(TopologyChart chart, string path, TopologyRenderOptions? options = null) #

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) #

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) #

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) #

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) #

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) #

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) #

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) #

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) #

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) #

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