+
    )•üif  ã                   óP   € R t R.t^ RIt]P                  ! RRR7      RR l4       tR# )z
Ego graph.
Ú	ego_graphNT)Úpreserve_all_attrsÚreturns_graphc                ó°  € V'       d_   Ve+   \         P                  ! V P                  4       WVR7      w  rgMg\        \         P                  ! V P                  4       WR7      4      pM7Ve   \         P                  ! WW%R7      w  rgM\         P                  ! WVR7      pV P                  V4      P                  4       pV'       g   VP                  V4       V# )a‹  Returns induced subgraph of neighbors centered at node n within
a given radius.

Parameters
----------
G : graph
  A NetworkX Graph or DiGraph

n : node
  A single node

radius : number, optional
  Include all neighbors of distance<=radius from n.

center : bool, optional
  If False, do not include center node in graph

undirected : bool, optional
  If True use both in- and out-neighbors of directed graphs.

distance : key, optional
  Use specified edge data key as distance.  For example, setting
  distance='weight' will use the edge weight to measure the
  distance from the node n.

Notes
-----
For directed graphs D this produces the "out" neighborhood
or successors.  If you want the neighborhood of predecessors
first reverse the graph with D.reverse().  If you want both
directions use the keyword argument undirected=True.

Node, edge, and graph attributes are copied to the returned subgraph.
)ÚcutoffÚweight)r   )ÚnxÚsingle_source_dijkstraÚto_undirectedÚdictÚ"single_source_shortest_path_lengthÚsubgraphÚcopyÚremove_node)	ÚGÚnÚradiusÚcenterÚ
undirectedÚdistanceÚspÚ_ÚHs	   &&&&&&   ÚU/var/www/html/photoedit/myenv/lib/python3.14/site-packages/networkx/generators/ego.pyr   r   
   s°   € ÷H ØÒÜ×-Ò-Ø—‘Ó! 1¸Hô‰EˆBô Ü×5Ò5Ø—O‘OÓ% qôó‰Bð ÒÜ×-Ò-¨a¸6ÔS‰EˆBä×6Ò6°qÀFÔKˆBà	
‰
2‹×ÑÓ€AßØ	‰aÔØ€Hó    )é   TFN)Ú__doc__Ú__all__Únetworkxr   Ú_dispatchabler   © r   r   Ú<module>r!      s7   ðñð ˆ-€ã ð ×Ò T¸Ô>ó7ó ?ò7r   