§
    bŠtj”	  ã                   óø   — d Z ddlZddlmZ dgZi dg “ddg“ddd	g“d
d	dg“dddg“dddg“dg d¢“dg d¢“dg d¢“dg d¢“dg d¢“dg d¢“dg d¢“dg d¢“dg d ¢“d!g d"¢“Z ej        dd#¬$¦  «        d%„ ¦   «         ZdS )&zZFunctions that generate the triad graphs, that is, the possible
digraphs on three nodes.

é    N)ÚDiGraphÚtriad_graphÚ003Ú012ÚabÚ102ÚbaÚ021DÚbcÚ021UÚcbÚ021CÚ111D)ÚacÚcar   Ú111U)r   r   r   Ú030T)r   r   r   Ú030C)r	   r   r   Ú201)r   r	   r   r   Ú120D)r   r	   r   r   Ú120U)r   r   r   r   Ú120C)r   r   r   r   Ú210)r   r   r   r   r   Ú300)r   r	   r   r   r   r   T)ÚgraphsÚreturns_graphc                 óÄ   — | t           vrt          d| › d�¦  «        ‚t          ¦   «         }|                     d¦  «         |                     t           |          ¦  «         |S )aÎ  Returns the triad graph with the given name.

    Each string in the following tuple is a valid triad name::

        (
            "003",
            "012",
            "102",
            "021D",
            "021U",
            "021C",
            "111D",
            "111U",
            "030T",
            "030C",
            "201",
            "120D",
            "120U",
            "120C",
            "210",
            "300",
        )

    Each triad name corresponds to one of the possible valid digraph on
    three nodes.

    Parameters
    ----------
    triad_name : string
        The name of a triad, as described above.

    Returns
    -------
    :class:`~networkx.DiGraph`
        The digraph on three nodes with the given name. The nodes of the
        graph are the single-character strings 'a', 'b', and 'c'.

    Raises
    ------
    ValueError
        If `triad_name` is not the name of a triad.

    See also
    --------
    triadic_census

    zunknown triad name "z9"; use one of the triad names in the TRIAD_NAMES constantÚabc)ÚTRIAD_EDGESÚ
ValueErrorr   Úadd_nodes_fromÚadd_edges_from)Ú
triad_nameÚGs     úX/var/www/html/CA-Chatbot/venv/lib/python3.11/site-packages/networkx/generators/triads.pyr   r   %   su   € ðb �Ð$Ð$Ýð+ :ð +ð +ð +ñ
ô 
ð 	
õ 	‰	Œ	€AØ×Ò�UÑÔÐØ×Ò•[ Ô,Ñ-Ô-Ð-Ø€Hó    )	Ú__doc__ÚnetworkxÚnxÚnetworkx.classesr   Ú__all__r   Ú_dispatchabler   © r&   r%   ú<module>r.      s‰  ðð
ð ð
 Ð Ð Ð Ø $Ð $Ð $Ð $Ð $Ð $àˆ/€ðØ	ˆ2ðà	ˆDˆ6ðð 
ˆD�$ˆ<ðð ˆT�4ˆLð	ð
 ˆT�4ˆLðð ˆT�4ˆLðð ÐÐÐðð ÐÐÐðð ÐÐÐðð ÐÐÐðð 
Ð#Ð#Ð#ðð Ð$Ð$Ð$ðð Ð$Ð$Ð$ðð Ð$Ð$Ð$ðð 
Ð)Ð)Ð)ðð  
Ð/Ð/Ð/ð!€ð( €Ô˜¨TÐ2Ñ2Ô2ð8ð 8ñ 3Ô2ð8ð 8ð 8r&   