U
    ª9%e  ã                   @   sæ   d Z ddlmZ ddlZe dd¡ZejedddZ	e 
dd¡\ZZejZejee	ed dd	 ejee	ed
 ddd ejee	ed ddddddd	 e ¡ Zejee	ed dddddd eD ]Ze d¡ qÂe ¡  e ¡  dS )z×
==========
Four Grids
==========

Draw a 4x4 graph with matplotlib.

This example illustrates the use of keyword arguments to `networkx.draw` to
customize the visualization of a simple Graph comprising a 4x4 grid.
é    Né   éd   i_›  )Z
iterationsÚseedé   é   )ÚaxZ	font_sizeé   F)r   Ú	node_sizeÚwith_labelsz	tab:greenztab:grayéú   é   )r   Ú
node_colorZ
edgecolorsZ
edge_colorr	   r
   Úwidthé   z
tab:orangeé   é
   )r   r   r	   r
   Z	arrowsizer   gš™™™™™¹?)Ú__doc__Zmatplotlib.pyplotZpyplotZpltZnetworkxÚnxZgrid_2d_graphÚGZspring_layoutÚposZsubplotsZfigZall_axesZflatr   ZdrawZto_directedÚHÚaZmarginsZtight_layoutÚshow© r   r   ú/var/www/html/Darija-Ai-API/env/lib/python3.8/site-packages/../../../share/doc/networkx-3.1/examples/drawing/plot_four_grids.pyÚ<module>   sD   ÷ø