U
    9%e                     @   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_sizeZwith_labelsi,  r)r   r
   Znodelist)__doc__operatorr   Zmatplotlib.pyplotZpyplotZpltZnetworkxnxnmr   Zbarabasi_albert_graphGZdegreeZnode_and_degreesortedZlargest_hubZ	ego_graphZhub_egoZspring_layoutposZdrawoptionsZdraw_networkx_nodesshow r   r   ~/var/www/html/Darija-Ai-API/env/lib/python3.8/site-packages/../../../share/doc/networkx-3.1/examples/drawing/plot_ego_graph.py<module>   s   	
