Skip to main content

exporter.write_semantic_viz_html()

Write a standalone HTML viewer for a statement-graph payload.

Usage

Source

exporter.write_semantic_viz_html(
    payload,
    path,
    *,
    title="Statement dependency graph",
    data_mode="inline",
    template_path=None
)

The viewer opens on the precomputed clustered force layout. Behavior follows the shared size tier: small graphs relayout in the browser when Cluster by or Vertical pull changes; medium graphs relayout one selected cluster or neighborhood; large graphs open on the cluster overview, expand into dots when zoomed in, and relayout one selected cluster.