gemseo / utils / n2d3

n2_json module

Generator of the JSON file defining the coupling structure used by the N2 chart.

Classes:

N2JSON(graph)

The JSON structure to be used by the D3.js-based N2 chart.

class gemseo.utils.n2d3.n2_json.N2JSON(graph)[source]

Bases: object

The JSON structure to be used by the D3.js-based N2 chart.

Parameters

graph (DependencyGraph) – The dependency graph.

Return type

None