o
    3ήc                     @   s   d Z ddlmZ ddlmZ ddlZdZdZ	dZ
ejee	e
dZe Zeeedd	d
 \ZZeeeZejee
dZejeedddd dddZejeefdegie e  dS )u   
=========
Ego Graph
=========

Example using the NetworkX ego_graph() function to return the main egonet of
the largest hub in a Barabási-Albert network.
    )
itemgetterNi     i4P  )seed   )keyb2   F)
node_color	node_sizewith_labelsi,  r)r   r
   nodelist)__doc__operatorr   matplotlib.pyplotpyplotpltnetworkxnxnmr   barabasi_albert_graphGdegreenode_and_degreesortedlargest_hub	ego_graphhub_egospring_layoutposdrawoptionsdraw_networkx_nodesshow r&   r&   e/tmp/pip-target-vg8gfxp4/lib/python/../../share/doc/networkx-2.8.8/examples/drawing/plot_ego_graph.py<module>   s     	
