Class
TopologyGraphExplorerExtensions
ChartForgeX.Interactivity.Html
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
- The source topology chart.
- configureScene System.Action<ChartForgeX.Interactivity.Html.TopologyGraphSceneOptions>? = null
- Optional topology-to-graph projection configuration.
- configureHtml System.Action<ChartForgeX.Interactivity.Html.HtmlGraphExplorerOptions>? = null
- 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
- The source topology chart.
- configureScene System.Action<ChartForgeX.Interactivity.Html.TopologyGraphSceneOptions>? = null
- Optional topology-to-graph projection configuration.
- configureHtml System.Action<ChartForgeX.Interactivity.Html.HtmlGraphExplorerOptions>? = null
- 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
- The source topology chart.
- configure System.Action<ChartForgeX.Interactivity.Html.TopologyGraphSceneOptions>? = null
- Optional bridge configuration callback.