neofoam.framework.graph.visualization

Visualization helpers for graph structures.

Public entry points are digraph_to_pyvis_html() (HTML rendering) and dependency_dag() (compose per-domain operation DAGs into a single graph for rendering or diagnostics).

neofoam.framework.graph.visualization.dependency_dag(domains: Mapping[str, list[OperationMetadata]]) DiGraph[source]

Public entry point: build the global dependency DAG for domains.

Thin wrapper over _build_global_dag() so callers (e.g. Simulation.dependency_graph()) bind to a stable public name.

neofoam.framework.graph.visualization.digraph_to_pyvis_html(graph: DiGraph, html_path: str = 'dag.html') None[source]

Render a directed graph to a pyvis HTML file.