finesse.model.Model.plot_graph

Model.plot_graph(network_type='components', layout='spring', **kwargs)[source]

Plot the node network.

Parameters:
network_typestr

What type of network to show: components, optical, full

layoutstr

The networkx plotting layout engine, see NetworkX manual for more details. Choose from:

circular, fruchterman_reingold, kamada_kawai, multipartite, planar, random, shell, spectral, spiral, spring, neato, dot, fdp, sfdp, or circo

**kwargs

Keywords supported by plot_nx_graph().