
    Gd                     "   d Z ddlmZ ddlZ ej        dd          Z ej        edd          Z	 ej
        dd          \  ZZej        Z ej        ee	ed         d	            ej        ee	ed
         dd            ej        ee	ed         dddddd	  	         e                                Z ej        ee	ed         ddddd           eD ]Ze                    d           e                                  ej                     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_  )
iterationsseed      )ax	font_size   F)r	   	node_sizewith_labelsz	tab:greenztab:gray      )r	   
node_color
edgecolors
edge_colorr   r   width   z
tab:orange   
   )r	   r   r   r   	arrowsizer   g?)__doc__matplotlib.pyplotpyplotpltnetworkxnxgrid_2d_graphGspring_layoutpossubplotsfigall_axesflatr	   drawto_directedHamarginstight_layoutshow     :share/doc/networkx-3.1/examples/drawing/plot_four_grids.py<module>r0      s  	 	           BQbqSu555 Q""X] 32a5A & & & & 32a5A5 9 9 9 9 	!u

 
 
 
 MMOO 	!u
	 	 	 	 
  AIIdOOOO       




r.   