# TopologyGraphExplorerExtensions

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

 Class  

`ChartForgeX.Interactivity.Html`

**Namespace**

`ChartForgeX.Interactivity.Html`

**Assembly**

`ChartForgeX.Interactivity.Html`

**Source**

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

**Modifiers**

static

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

## Inheritance

- object
- TopologyGraphExplorerExtensions

 Filter members   

    Show inherited   

 

## Methods

 `public static string ToGraphExplorerHtmlFragment(TopologyChart chart, Action<TopologyGraphSceneOptions>? configureScene = null, Action<HtmlGraphExplorerOptions>? configureHtml = null)` [#](#method-tographexplorerhtmlfragment-chartforgex-topology-topologychart-action-chartforgex-interactivity-html-topologygraphsceneoptions-action-chartforgex-interactivity-html-htmlgraphexploreroptions) 

[TopologyGraphExplorerExtensions.cs:120](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/TopologyGraphExplorerExtensions.cs#L120)

Renders a topology chart as an embeddable graph explorer fragment by first projecting it into [GraphScene](/api/chartforgex-interactivity-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)` [#](#method-tographexplorerhtmlpage-chartforgex-topology-topologychart-action-chartforgex-interactivity-html-topologygraphsceneoptions-action-chartforgex-interactivity-html-htmlgraphexploreroptions) 

[TopologyGraphExplorerExtensions.cs:109](https://github.com/EvotecIT/ChartForgeX/blob/main/ChartForgeX.Interactivity.Html/TopologyGraphExplorerExtensions.cs#L109)

Renders a topology chart through the graph explorer adapter by first projecting it into [GraphScene](/api/chartforgex-interactivity-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)` [#](#method-tographscene-chartforgex-topology-topologychart-action-chartforgex-interactivity-html-topologygraphsceneoptions) 

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

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. 

## 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:B71AD0C5E67FA95682DB5EA405172537261D6EC0D0B741E9E29271EE7B289301 -->
