Skip to content
ChartForgeX
Class

TopologyGraphExplorerExtensions

ChartForgeX.Interactivity.Html

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

Bridges static topology models into the reusable graph explorer scene contract.

Inheritance

  • object
  • TopologyGraphExplorerExtensions

Methods

public static string ToGraphExplorerHtmlFragment(TopologyChart chart, Action<TopologyGraphSceneOptions>? configureScene = null, Action<HtmlGraphExplorerOptions>? configureHtml = null) #

Renders a topology chart as an embeddable graph explorer fragment by first projecting it into GraphScene.

Parameters

chart ChartForgeX.Topology.TopologyChart required
The source topology chart.
configureScene System.Action<ChartForgeX.Interactivity.Html.TopologyGraphSceneOptions>? = null optional
Optional topology-to-graph projection configuration.
configureHtml System.Action<ChartForgeX.Interactivity.Html.HtmlGraphExplorerOptions>? = null optional
Optional graph explorer HTML configuration.

Returns

string A self-contained HTML fragment.
public static string ToGraphExplorerHtmlPage(TopologyChart chart, Action<TopologyGraphSceneOptions>? configureScene = null, Action<HtmlGraphExplorerOptions>? configureHtml = null) #

Renders a topology chart through the graph explorer adapter by first projecting it into GraphScene.

Parameters

chart ChartForgeX.Topology.TopologyChart required
The source topology chart.
configureScene System.Action<ChartForgeX.Interactivity.Html.TopologyGraphSceneOptions>? = null optional
Optional topology-to-graph projection configuration.
configureHtml System.Action<ChartForgeX.Interactivity.Html.HtmlGraphExplorerOptions>? = null optional
Optional graph explorer HTML configuration.

Returns

string A complete self-contained HTML document.
public static GraphScene ToGraphScene(TopologyChart chart, Action<TopologyGraphSceneOptions>? configure = null) #

Projects a topology chart into a host-neutral graph scene for large interactive exploration.

Parameters

chart ChartForgeX.Topology.TopologyChart required
The source topology chart.
configure System.Action<ChartForgeX.Interactivity.Html.TopologyGraphSceneOptions>? = null optional
Optional bridge configuration callback.

Returns

GraphScene A graph scene that preserves topology ids, metadata, groups, and relationships.