.. DO NOT EDIT. .. THIS FILE WAS AUTOMATICALLY GENERATED BY SPHINX-GALLERY. .. TO MAKE CHANGES, EDIT THE SOURCE PYTHON FILE: .. "sphinx_gallery_output/plot_11_curved_edge_layout.py" .. LINE NUMBERS ARE GIVEN BELOW. .. only:: html .. note:: :class: sphx-glr-download-link-note Click :ref:`here ` to download the full example code .. rst-class:: sphx-glr-example-title .. _sphx_glr_sphinx_gallery_output_plot_11_curved_edge_layout.py: Curved Edges ============ Curved edges are repelled by nodes and other edges. This reduces node/edge and edge/edge occlusions. .. GENERATED FROM PYTHON SOURCE LINES 8-16 .. image-sg:: /sphinx_gallery_output/images/sphx_glr_plot_11_curved_edge_layout_001.png :alt: plot 11 curved edge layout :srcset: /sphinx_gallery_output/images/sphx_glr_plot_11_curved_edge_layout_001.png :class: sphx-glr-single-img .. code-block:: default import matplotlib.pyplot as plt import networkx as nx from netgraph import Graph Graph(nx.wheel_graph(7), edge_layout='curved') plt.show() .. rst-class:: sphx-glr-timing **Total running time of the script:** ( 0 minutes 0.140 seconds) .. _sphx_glr_download_sphinx_gallery_output_plot_11_curved_edge_layout.py: .. only :: html .. container:: sphx-glr-footer :class: sphx-glr-footer-example .. container:: sphx-glr-download sphx-glr-download-python :download:`Download Python source code: plot_11_curved_edge_layout.py ` .. container:: sphx-glr-download sphx-glr-download-jupyter :download:`Download Jupyter notebook: plot_11_curved_edge_layout.ipynb ` .. only:: html .. rst-class:: sphx-glr-signature `Gallery generated by Sphinx-Gallery `_