# Interactive HTML

Add self-contained browser interaction without changing ChartForgeX's static rendering contract.

Install `ChartForgeX.Interactivity.Html` when a chart or topology needs browser behavior. It provides self-contained pages for tooltips, selection, zoom, pan, brush ranges, scenarios, hierarchy navigation, SVG, Canvas, or WebGL graph rendering, and exports.

<figure class="cfx-figure cfx-figure--frame">
<div class="cfx-figure__plate">
<iframe src="/site/examples/interactive-topology.html" title="Interactive topology explorer" loading="lazy"></iframe>
</div>
<figcaption>The interactive topology example's output, running in the page: search, select a region to drill in, or switch its theme.</figcaption>
</figure>

Flow and sequence diagrams get a live page too: hover or tab through steps, connectors, participants and messages to highlight their connections and read their text, and play a sequence message by message.

The adapter is opt in. The same underlying models can still produce script-free SVG, PNG, and static HTML for email, documentation, reports, and release artifacts.

For graph explorers, use stable node ids and explicit host callbacks for validated changes. Search, navigation, persisted interaction state, and graph manipulation remain adapter or host concerns; application data and authorization remain with the application.

See the maintained [interactivity reference](https://github.com/EvotecIT/ChartForgeX/blob/main/docs/interactivity.md) for the complete HTML option and event contracts. For the host-neutral graph document, patches, backends and limits, use the [graph explorer reference](../graph-explorer/). The [API conventions](../api-conventions/) cover preparation, native updates and identity.

<!-- PowerForge markdown source sha256:3490BEBBC207CD295B8D305B99983DB88E25CA5065AE583C0A8076D050CB0A00; title=True -->

<!-- PowerForge markdown artifact sha256:03905A1EE7F0AED9F3AD44A2B62E40FF8BE60797E362C06906CB836648AFB308 -->
