gemseo.utils.n2d3.n2_html module#
Generator of the HTML file containing a D3.js version of the N2 chart.
- class N2HTML(file_path='n2.html', show_html=False)[source]#
Bases:
objectGenerate an HTML file to visualize a dynamic and interactive N2 chart.
- Parameters:
- from_graph(graph, self_coupled_disciplines=())[source]#
Create the HTML file from a dependency graph.
- Parameters:
graph (DependencyGraph) -- The dependency graph.
self_coupled_disciplines (Sequence[str]) --
The names of the self-coupled disciplines, if any.
By default it is set to ().
- Return type:
None