ó ŸÃÒYc@skddlmZmZddlZddlZddgZeddddƒZdd„Z dd „Z dS( iÿÿÿÿ(tchaintcountNtcytoscape_datatcytoscape_graphtnametidenttidc s‰ˆst‰n#ˆj‡fd†tjƒDƒƒˆd}ˆd}tt||gƒƒdkrvtjdƒ‚nit|jjƒƒd6}|j ƒ|d<|j ƒ|ds RRisAttribute names are not unique.tdatatdirectedt multigraphtnodestedgestelementsRtvaluetkeysiitsourcettargettkey(t_attrstupdatetitemstlentsettnxt NetworkXErrortlisttgrapht is_directedt is_multigraphRtcopytgettstrtappendRtTruetadj( tGR RRtjsondataRRtitjtnte((R s}/private/var/folders/w6/vb91730s7bb1k90y_rnhql1dhvdd44/T/pip-build-w4MwvS/networkx/networkx/readwrite/json_graph/cytoscape.pyR s@ #  ## .&cscˆst‰n#ˆj‡fd†tjƒDƒƒˆd}ˆd}tt||gƒƒdkrvtjdƒ‚n|jdƒ}|jdƒ}|r©tjƒ}n tj ƒ}|rÊ|j ƒ}nt |jdƒƒ|_ x¯|d d D]Ÿ}|dj ƒ}|dd } |dj|ƒrB|dj|ƒ||Hs RRisAttribute names are not unique.R R R RRRRRRRi(RRRRRRRR"t MultiGraphtGrapht to_directedtdictRR!tadd_nodeRtpoptadd_edgeR(R R RRR R Rtdt node_datatnodet edge_datatsourttargR((R s}/private/var/folders/w6/vb91730s7bb1k90y_rnhql1dhvdd44/T/pip-build-w4MwvS/networkx/networkx/readwrite/json_graph/cytoscape.pyRDsF #     ( t itertoolsRRtjsontnetworkxRt__all__R0RtNoneRR(((s}/private/var/folders/w6/vb91730s7bb1k90y_rnhql1dhvdd44/T/pip-build-w4MwvS/networkx/networkx/readwrite/json_graph/cytoscape.pyts     :