U
    ¹mœdñ  ã                   @   s€   d Z ddlZddlmZ ejdejd�Ze 	dd¡ e 
e¡Zejeedd� ddgZe e¡ ejeeed	d
d� e ¡  dS )z©
==========
Self-loops
==========

A self-loop is an edge that originates from and terminates the same node.
This example shows how to draw self-loops with `nx_pylab`.

é    Né   )Zcreate_usingT)Zwith_labels)é   r   )é   r   z<|-Zdashed)ÚedgelistZ
arrowstyleÚstyle)Ú__doc__ZnetworkxÚnxZmatplotlib.pyplotZpyplotZpltZcomplete_graphZDiGraphÚGZadd_edgeZcircular_layoutÚposZdrawr   Zadd_edges_fromZdraw_networkx_edgesÚshow© r   r   úx/home/sam/Atlas/atlas_env/lib/python3.8/site-packages/../../../share/doc/networkx-3.1/examples/drawing/plot_selfloops.pyÚ<module>   s   	

