a
    þdó  ã                   @   sž   d Z ddlZddlmZ e g d¢¡Zee 	e¡ƒD ] \Z
ZeD ]Ze
eje d< q@q4ejeddZe ¡ \ZZejeeed e d¡ e ¡  e ¡  dS )zä
========================
DAG - Topological Layout
========================

This example combines the `topological_generations` generator with
`multipartite_layout` to show how to visualize a DAG in topologically-sorted
order.
é    N)	)ÚfÚa)r   Úb)r   Úe)r   Úc)r   Úd)r   r   )r   r   )r   Úg)Úhr   Úlayer)Z
subset_key)ÚposÚaxzDAG layout in topological order)Ú__doc__ZnetworkxZnxZmatplotlib.pyplotZpyplotZpltZDiGraphÚGÚ	enumerateZtopological_generationsr
   ÚnodesÚnodeZmultipartite_layoutr   ZsubplotsZfigr   Zdraw_networkxÚ	set_titleZtight_layoutÚshow© r   r   ú‡/var/www/html/stable-diffusion-webui/venv/lib/python3.9/site-packages/../../../share/doc/networkx-3.1/examples/graph/plot_dag_layout.pyÚ<module>   s   
ÿ
