InteractiveTopologyExtensions
ChartForgeX.Interactivity.Html
Provides adapter-owned interactive HTML output for topology charts.
Inheritance
- object
- InteractiveTopologyExtensions
Methods
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
- path string
- options ChartForgeX.Topology.TopologyRenderOptions? = null
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
- path string
- options ChartForgeX.Topology.TopologyRenderOptions?
- svgPresentation System.Func<ChartForgeX.Topology.PreparedTopology, string>
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
- path string
- options ChartForgeX.Topology.TopologyRenderOptions?
- svgPresentation System.Func<ChartForgeX.Topology.PreparedTopology, string>? = null
- configureLocalization System.Action<ChartForgeX.Interactivity.Html.HtmlChartLocalization>? = null
public static string ToInteractiveHtmlFragment(TopologyChart chart, TopologyRenderOptions? options = null) #Renders a self-contained interactive topology HTML fragment.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- options ChartForgeX.Topology.TopologyRenderOptions? = null
Returns
stringpublic static string ToInteractiveHtmlFragment(TopologyChart chart, TopologyRenderOptions? options, Action<HtmlChartLocalization> configureLocalization) #Renders an interactive fragment with localized control messages.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- options ChartForgeX.Topology.TopologyRenderOptions?
- configureLocalization System.Action<ChartForgeX.Interactivity.Html.HtmlChartLocalization>
Returns
stringpublic static string ToInteractiveHtmlFragmentWithoutAssets(TopologyChart chart, TopologyRenderOptions? options = null) #Renders interactive topology markup without renderer-owned assets.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- options ChartForgeX.Topology.TopologyRenderOptions? = null
Returns
stringpublic 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
- options ChartForgeX.Topology.TopologyRenderOptions?
- configureLocalization System.Action<ChartForgeX.Interactivity.Html.HtmlChartLocalization>
Returns
stringpublic static string ToInteractiveHtmlPage(TopologyChart chart, TopologyRenderOptions? options = null) #Renders a complete self-contained interactive topology HTML page.
Parameters
- chart ChartForgeX.Topology.TopologyChart
- options ChartForgeX.Topology.TopologyRenderOptions? = null
Returns
stringpublic 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
- options ChartForgeX.Topology.TopologyRenderOptions?
- svgPresentation System.Func<ChartForgeX.Topology.PreparedTopology, string>
Returns
stringpublic 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
- The source topology.
- options ChartForgeX.Topology.TopologyRenderOptions?
- Native render options, or null for the chart defaults.
- svgPresentation System.Func<ChartForgeX.Topology.PreparedTopology, string>? = null
- Optional producer for the adapter's detached prepared topology.
- configureLocalization System.Action<ChartForgeX.Interactivity.Html.HtmlChartLocalization>? = null
- Optional control-message configuration; authored facts remain unchanged.
Returns
string