gemseo.utils.n2d3.n2_json module#
Generator of the JSON file defining the coupling structure used by the N2 chart.
- class N2JSON(graph, self_coupled_disciplines=())[source]#
Bases:
objectThe JSON structure to be used by the D3.js-based N2 chart.
- 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 ().