viewconns.py

openmdao.util.viewconns.printoptions(*args, **kwds)[source]
openmdao.util.viewconns.view_connections(root, outfile='connections.html', show_browser=True, src_filter='', tgt_filter='', precision=6)[source]

Generates a self-contained html file containing a detailed connection viewer. Optionally pops up a web browser to view the file.

Args:

root : system or Problem

The root for the desired tree.

outfile : str, optional

The name of the output html file. Defaults to ‘connections.html’.

show_browser : bool, optional

If True, pop up a browser to view the generated html file. Defaults to True.

src_filter : str, optional

If defined, use this as the initial value for the source system filter.

tgt_filter : str, optional

If defined, use this as the initial value for the target system filter.

precision : int, optional

Sets the precision for displaying array values.