n2_html module¶
Generator of the HTML file containing a D3.js version of the N2 chart.
- class gemseo.utils.n2d3.n2_html.N2HTML(file_path='n2.html', open_browser=False)[source]¶
Bases:
object
Generate a HTML file to visualize a dynamic and interactive N2 chart.
- Parameters
- Return type
None
- from_graph(graph)[source]¶
Create the HTML file from a dependency graph.
- Parameters
graph (DependencyGraph) – The dependency graph.
- Return type
None