dyn_units_plot.py#
Functions for plotting the dynamic units dependency graph.
- openmdao.visualization.dyn_units_plot.view_dyn_units(root, outfile='unit_dep_graph.png', show=True, title=None)[source]
Generate a plot file containing the dynamic unit dependency graph.
Optionally displays the plot.
- Parameters:
- rootSystem or Problem
The top level system or Problem.
- outfilestr, optional
The name of the plot file. Defaults to ‘unit_dep_graph.png’.
- showbool, optional
If True, display the plot. Defaults to True.
- titlestr, optional
Sets the title of the plot.