decent_bench.utils.network_utils#

decent_bench.utils.network_utils.plot_network(network: decent_bench.networks.Network, *, ax: Axes | None = None, layout: Literal['spring', 'kamada_kawai', 'circular', 'random', 'shell'] = 'spring', **draw_kwargs: Mapping[str, object]) Axes[source]#

Plot a Network using NetworkX drawing utilities.

Parameters:
Returns:

The matplotlib matplotlib.axes.Axes containing the plot.

Raises: