Skip to content

Latest commit

 

History

History
142 lines (76 loc) · 3.55 KB

plot_13_arcdiagram.rst

File metadata and controls

142 lines (76 loc) · 3.55 KB

html

Note

Click here <sphx_glr_download_sphinx_gallery_output_plot_13_arcdiagram.py> to download the full example code

sphx-glr-example-title

Arc Diagrams

/sphinx_gallery_output/images/sphx_glr_plot_13_arcdiagram_001.png

sphx-glr-script-out

Out:

/home/paul/src/netgraph/netgraph/_node_layout.py:847: UserWarning: Maximum number of iterations reached. Aborting further node layout optimisations.
  warnings.warn("Maximum number of iterations reached. Aborting further node layout optimisations.")

By default, ArcDiagram optimises the node order such that the number of edge crossings is minimised. For larger graphs, this process can take a long time. The node order can be set explicitly using the node_order argument. In this case, no optimisation is attempted.

/sphinx_gallery_output/images/sphx_glr_plot_13_arcdiagram_002.png

sphx-glr-script-out

Out:

<netgraph._arcdiagram.ArcDiagram object at 0x7f034f543d30>

sphx-glr-timing

Total running time of the script: ( 1 minutes 0.919 seconds)

html