+
    �°³j1 ã                   ó¨   € ^ RI t ^ RIt^ RIt^ RIHt ^ RIHtHt  ! R R4      t	 ! R R]	4      t
 ! R R	]	4      t ! R
 R]4      tR tR tR tR tR# )é    N)ÚGraphMLWriter)Úedges_equalÚnodes_equalc                   ó0   a € ] tR t^
t o ]R 4       tRtV tR# )ÚBaseGraphMLc                óð  € R V n         \        P                  ! 4       V n        V P                  P	                  R4       V P                  P                  RRRR7       V P                  P                  RR4       V P                  P                  . R<O4       \        P                  ! V P                   P                  R
4      4      V n
        RV n        \        P                  ! RR7      V n        RR/V P                  P                  R&   V P                  P	                  RRR7       V P                  P	                  RRR7       V P                  P	                  RRR7       V P                  P	                  R	4       V P                  P	                  RRR7       V P                  P                  RRRRR7       V P                  P                  RRRRR7       V P                  P                  RRRRR7       V P                  P                  RRRR7       V P                  P                  RR	RR7       V P                  P                  RRRR7       V P                  P                  RR	RRR7       \        P                  ! V P                  P                  R
4      4      V n        R V n        \        P                  ! RR7      V n        R!R"R#^ R$^ R%R&R'R&R(R)/V P                   P                  R&   V P                   P	                  R4       V P                   P	                  R4       V P                   P                  RRRR7       \        P                  ! V P                  P                  R
4      4      V n        R*V n        \        P                  ! 4       V n        V P&                  P	                  R+R,R-R.7       V P&                  P	                  R/R0R-R.7       V P&                  P                  R+R/R1R27       \        P                  ! V P$                  P                  R
4      4      pWn        R3V n        \        P                  ! 4       V n        V P,                  P	                  R^R47       V P,                  P	                  RRR47       V P,                  P                  RR^R47       V P,                  P                  RRRR47       \        P                  ! V P*                  P                  R
4      4      pWn        R5V n        \        P2                  ! 4       V n        V P4                  P	                  R4       V P4                  P                  RRRR7       V P4                  P                  R:R;.4       \        P                  ! V P0                  P                  R
4      4      pWn        R6V n        \        P:                  ! 4       V n        V P<                  P	                  R4       V P<                  P                  RRRR7       V P<                  P                  RRRR7       V P<                  P                  RRRR7       \        P                  ! V P8                  P                  R
4      4      pWn        R7V n         \        P:                  ! 4       V n!        V PB                  P	                  R4       V PB                  P                  RRRR7       V PB                  P                  RRRR7       V PB                  P                  RRRR7       \        P                  ! V P@                  P                  R
4      4      pWn"        R8V n#        \        P:                  ! 4       V n$        V PH                  P	                  R4       V PH                  P                  RR4       V PH                  P                  RRRR7       V PH                  P                  RRRR7       \        P                  ! V PF                  P                  R
4      4      pWn%        R9# )=a  <?xml version="1.0" encoding="UTF-8"?>
<!-- This file was written by the JAVA GraphML Library.-->
<graphml xmlns="http://graphml.graphdrawing.org/xmlns"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns
         http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
  <graph id="G" edgedefault="directed">
    <node id="n0"/>
    <node id="n1"/>
    <node id="n2"/>
    <node id="n3"/>
    <node id="n4"/>
    <node id="n5"/>
    <node id="n6"/>
    <node id="n7"/>
    <node id="n8"/>
    <node id="n9"/>
    <node id="n10"/>
    <edge id="foo" source="n0" target="n2"/>
    <edge source="n1" target="n2"/>
    <edge source="n2" target="n3"/>
    <edge source="n3" target="n5"/>
    <edge source="n3" target="n4"/>
    <edge source="n4" target="n6"/>
    <edge source="n6" target="n5"/>
    <edge source="n5" target="n7"/>
    <edge source="n6" target="n8"/>
    <edge source="n8" target="n7"/>
    <edge source="n8" target="n9"/>
  </graph>
</graphml>Ún10Ún0Ún2Úfoo)ÚidÚn1Ún3Ún5Ún4úUTF-8a  <?xml version="1.0" encoding="UTF-8"?>
<graphml xmlns="http://graphml.graphdrawing.org/xmlns"
      xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
      xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns
        http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
  <key id="d0" for="node" attr.name="color" attr.type="string">
    <default>yellow</default>
  </key>
  <key id="d1" for="edge" attr.name="weight" attr.type="double"/>
  <graph id="G" edgedefault="directed">
    <node id="n0">
      <data key="d0">green</data>
    </node>
    <node id="n1"/>
    <node id="n2">
      <data key="d0">blue</data>
    </node>
    <node id="n3">
      <data key="d0">red</data>
    </node>
    <node id="n4"/>
    <node id="n5">
      <data key="d0">turquoise</data>
    </node>
    <edge id="e0" source="n0" target="n2">
      <data key="d1">1.0</data>
    </edge>
    <edge id="e1" source="n0" target="n1">
      <data key="d1">1.0</data>
    </edge>
    <edge id="e2" source="n1" target="n3">
      <data key="d1">2.0</data>
    </edge>
    <edge id="e3" source="n3" target="n2"/>
    <edge id="e4" source="n2" target="n4"/>
    <edge id="e5" source="n3" target="n5"/>
    <edge id="e6" source="n5" target="n4">
      <data key="d1">1.1</data>
    </edge>
  </graph>
</graphml>
ÚGÚcolorÚyellowÚnode_defaultÚgreen)r   ÚblueÚredÚ	turquoiseÚe0g      ð?)r   ÚweightÚe1Úe2g       @Úe3Úe4Úe5Úe6çš™™™™™ñ?a’  <?xml version="1.0" encoding="UTF-8"?>
        <graphml xmlns="http://graphml.graphdrawing.org/xmlns"
              xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
              xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns
                http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
          <key id="d0" for="node" attr.name="boolean_attribute" attr.type="boolean"><default>false</default></key>
          <key id="d1" for="node" attr.name="int_attribute" attr.type="int"><default>0</default></key>
          <key id="d2" for="node" attr.name="long_attribute" attr.type="long"><default>0</default></key>
          <key id="d3" for="node" attr.name="float_attribute" attr.type="float"><default>0.0</default></key>
          <key id="d4" for="node" attr.name="double_attribute" attr.type="double"><default>0.0</default></key>
          <key id="d5" for="node" attr.name="string_attribute" attr.type="string"><default>Foo</default></key>
          <graph id="G" edgedefault="directed">
            <node id="n0"/>
            <node id="n1"/>
            <edge id="e0" source="n0" target="n1"/>
          </graph>
        </graphml>
        Úboolean_attributeFÚint_attributeÚlong_attributeÚfloat_attributeg        Údouble_attributeÚstring_attributeÚFooaV  <?xml version='1.0' encoding='utf-8'?>
<graphml xmlns="http://graphml.graphdrawing.org/xmlns"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns
         http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
  <key id="edge_prop" for="edge" attr.name="edge_prop" attr.type="string"/>
  <key id="prop2" for="node" attr.name="prop2" attr.type="string"/>
  <key id="prop1" for="node" attr.name="prop1" attr.type="string"/>
  <graph edgedefault="directed">
    <node id="0">
      <data key="prop1">val1</data>
      <data key="prop2">val2</data>
    </node>
    <node id="1">
      <data key="prop1">val_one</data>
      <data key="prop2">val2</data>
    </node>
    <edge source="0" target="1">
      <data key="edge_prop">edge_value</data>
    </edge>
  </graph>
</graphml>
Ú0Úval1Úval2)Úprop1Úprop2Ú1Úval_oneÚ
edge_value)Ú	edge_propaC  <?xml version='1.0' encoding='utf-8'?>
<graphml xmlns="http://graphml.graphdrawing.org/xmlns"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns
         http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
  <key attr.name="weight" attr.type="double" for="node" id="d1" />
  <key attr.name="weight" attr.type="double" for="edge" id="d0" />
  <graph edgedefault="directed">
    <node id="n0">
      <data key="d1">1</data>
    </node>
    <node id="n1">
      <data key="d1">2.0</data>
    </node>
    <edge source="n0" target="n1">
      <data key="d0">1</data>
    </edge>
    <edge source="n1" target="n0">
      <data key="d0">k</data>
    </edge>
    <edge source="n1" target="n1">
      <data key="d0">1.0</data>
    </edge>
  </graph>
</graphml>
©r   a  <?xml version="1.0" encoding="UTF-8"?>
<graphml xmlns="http://graphml.graphdrawing.org/xmlns"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns
         http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
  <graph id="G">
    <node id="n0"/>
    <node id="n1"/>
    <node id="n2"/>
    <node id="n10"/>
    <edge id="foo" source="n0" target="n2"/>
    <edge source="n1" target="n2"/>
    <edge source="n2" target="n3"/>
  </graph>
</graphml>a  <?xml version="1.0" encoding="UTF-8"?>
<graphml xmlns="http://graphml.graphdrawing.org/xmlns"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns
         http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
  <graph id="G">
    <node id="n0"/>
    <node id="n1"/>
    <node id="n2"/>
    <node id="n10"/>
    <edge id="e0" source="n0" target="n2"/>
    <edge id="e1" source="n1" target="n2"/>
    <edge id="e2" source="n2" target="n1"/>
  </graph>
</graphml>a  <?xml version="1.0" encoding="UTF-8"?>
<graphml xmlns="http://graphml.graphdrawing.org/xmlns"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns
         http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
  <graph id="G">
    <node id="n0"/>
    <node id="n1"/>
    <node id="n2"/>
    <node id="n10"/>
    <edge id="e0" source="n0" target="n2"/>
    <edge id="e1" source="n1" target="n2"/>
    <edge id="e2" source="n2" target="n3"/>
  </graph>
</graphml>a  <?xml version="1.0" encoding="UTF-8"?>
<graphml xmlns="http://graphml.graphdrawing.org/xmlns"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns
         http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
  <graph id="G">
    <node id="n0"/>
    <node id="n1"/>
    <node id="n2"/>
    <node id="n10"/>
    <edge source="n0" target="n2"/>
    <edge id="e1" source="n1" target="n2"/>
    <edge id="e2" source="n2" target="n1"/>
  </graph>
</graphml>N©r   r   ©r   r   )
r5   r6   )r   r   )r   r   )r   Ún6)r7   r   )r   Ún7)r7   Ún8)r9   r8   )r9   Ún9)&Úsimple_directed_dataÚnxÚDiGraphÚsimple_directed_graphÚadd_nodeÚadd_edgeÚadd_edges_fromÚioÚBytesIOÚencodeÚsimple_directed_fhÚattribute_dataÚattribute_graphÚgraphÚattribute_fhÚnode_attribute_default_dataÚnode_attribute_default_graphÚnode_attribute_default_fhÚattribute_named_key_ids_dataÚattribute_named_key_ids_graphÚattribute_named_key_ids_fhÚattribute_numeric_type_dataÚattribute_numeric_type_graphÚattribute_numeric_type_fhÚsimple_undirected_dataÚGraphÚsimple_undirected_graphÚsimple_undirected_fhÚundirected_multigraph_dataÚ
MultiGraphÚundirected_multigraphÚundirected_multigraph_fhÚ'undirected_multigraph_no_multiedge_dataÚ"undirected_multigraph_no_multiedgeÚ%undirected_multigraph_no_multiedge_fhÚ'multigraph_only_ids_for_multiedges_dataÚ"multigraph_only_ids_for_multiedgesÚ%multigraph_only_ids_for_multiedges_fh)ÚclsÚfhs   & Úf/home/luca/screen-checking/.venv/lib/python3.14/site-packages/networkx/readwrite/tests/test_graphml.pyÚsetup_classÚBaseGraphML.setup_class   s™  € ð$ˆÔ ô> %'§J¢J£LˆÔ!Ø×!Ñ!×*Ñ*¨5Ô1Ø×!Ñ!×*Ñ*¨4°¸%Ð*Ô@Ø×!Ñ!×*Ñ*¨4°Ô6Ø×!Ñ!×0Ñ0òô	
ô "$§¢¨C×,DÑ,D×,KÑ,KÈGÓ,TÓ!UˆÔð)ˆÔôT !Ÿjšj¨CÔ0ˆÔØ5<¸hÐ4Gˆ×Ñ×!Ñ! .Ñ1Ø×Ñ×$Ñ$ T°Ð$Ô9Ø×Ñ×$Ñ$ T°Ð$Ô8Ø×Ñ×$Ñ$ T°Ð$Ô7Ø×Ñ×$Ñ$ TÔ*Ø×Ñ×$Ñ$ T°Ð$Ô=Ø×Ñ×$Ñ$ T¨4°DÀÐ$ÔEØ×Ñ×$Ñ$ T¨4°DÀÐ$ÔEØ×Ñ×$Ñ$ T¨4°DÀÐ$ÔEØ×Ñ×$Ñ$ T¨4°DÐ$Ô9Ø×Ñ×$Ñ$ T¨4°DÐ$Ô9Ø×Ñ×$Ñ$ T¨4°DÐ$Ô9Ø×Ñ×$Ñ$ T¨4°DÀÐ$ÔEÜŸ:š: c×&8Ñ&8×&?Ñ&?ÀÓ&HÓIˆÔð+ˆÔ'ô$ ,.¯:ª:¸Ô+=ˆÔ(à Ø˜QØ˜aØ˜sØ Ø ðB
ˆ×(Ñ(×.Ñ.¨~Ñ>ð 	×(Ñ(×1Ñ1°$Ô7Ø×(Ñ(×1Ñ1°$Ô7Ø×(Ñ(×1Ñ1°$¸ÀÐ1ÔFÜ(*¯
ª
Ø×+Ñ+×2Ñ2°7Ó;ó)
ˆÔ%ð,ˆÔ(ô. -/¯JªJ«LˆÔ)Ø×)Ñ)×2Ñ2°3¸fÈFÐ2ÔSØ×)Ñ)×2Ñ2°3¸iÈvÐ2ÔVØ×)Ñ)×2Ñ2°3¸À|Ð2ÔTÜ�ZŠZ˜×8Ñ8×?Ñ?ÀÓHÓIˆØ)+Ô&ð+ˆÔ'ô4 ,.¯:ª:«<ˆÔ(Ø×(Ñ(×1Ñ1°$¸qÐ1ÔAØ×(Ñ(×1Ñ1°$¸sÐ1ÔCØ×(Ñ(×1Ñ1°$¸ÀQÐ1ÔGØ×(Ñ(×1Ñ1°$¸ÀSÐ1ÔIÜ�ZŠZ˜×7Ñ7×>Ñ>¸wÓGÓHˆØ(*Ô%ð&ˆÔ"ô  ')§h¢h£jˆÔ#Ø×#Ñ#×,Ñ,¨UÔ3Ø×#Ñ#×,Ñ,¨T°4¸EÐ,ÔBØ×#Ñ#×2Ñ2°LÀ,Ð3OÔPÜ�ZŠZ˜×2Ñ2×9Ñ9¸'ÓBÓCˆØ#%Ô ð*ˆÔ&ô %'§M¢M£OˆÔ!Ø×!Ñ!×*Ñ*¨5Ô1Ø×!Ñ!×*Ñ*¨4°¸$Ð*Ô?Ø×!Ñ!×*Ñ*¨4°¸$Ð*Ô?Ø×!Ñ!×*Ñ*¨4°¸$Ð*Ô?Ü�ZŠZ˜×6Ñ6×=Ñ=¸gÓFÓGˆØ')Ô$ð7ˆÔ3ô 24·²³ˆÔ.Ø×.Ñ.×7Ñ7¸Ô>Ø×.Ñ.×7Ñ7¸¸dÀtÐ7ÔLØ×.Ñ.×7Ñ7¸¸dÀtÐ7ÔLØ×.Ñ.×7Ñ7¸¸dÀtÐ7ÔLÜ�ZŠZ˜×CÑC×JÑJÈ7ÓSÓTˆØ46Ô1ð7ˆÔ3ô 24·²³ˆÔ.Ø×.Ñ.×7Ñ7¸Ô>Ø×.Ñ.×7Ñ7¸¸dÔCØ×.Ñ.×7Ñ7¸¸dÀtÐ7ÔLØ×.Ñ.×7Ñ7¸¸dÀtÐ7ÔLÜ�ZŠZ˜×CÑC×JÑJÈ7ÓSÓTˆØ46Ö1ó    © N)Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__Úclassmethodrd   Ú__static_attributes__Ú__classdictcell__©Ú__classdict__s   @rc   r   r   
   s   ø‡ € Øñj7ó öj7rf   r   c                   óŒ   a € ] tR tRt o R tR tR tR tR tR t	R t
R	 tR
 tR tR tR tR tR tR tR tR tR tRtV tR# )ÚTestReadGraphMLi9  c                óx  € V P                   p\        P                  ! V P                  4      p\	        VP                  4       4      \	        VP                  4       4      8X  g   Q h\	        VP                  4       4      \	        VP                  4       4      8X  g   Q h\	        VP                  R R7      4      \	        VP                  R R7      4      8X  g   Q hV P                  P                  ^ 4       \        P                  ! V P                  4      p\	        VP                  4       4      \	        VP                  4       4      8X  g   Q h\	        VP                  4       4      \	        VP                  4       4      8X  g   Q h\	        VP                  R R7      4      \	        VP                  R R7      4      8X  g   Q hR# ©T©ÚdataN)
r>   r<   Úread_graphmlrE   ÚsortedÚnodesÚedgesÚseekÚparse_graphmlr;   ©Úselfr   ÚHÚPGs   &   rc   Ú!test_read_simple_directed_graphmlÚ1TestReadGraphML.test_read_simple_directed_graphml:  s7  € Ø×&Ñ&ˆÜ�OŠO˜D×3Ñ3Ó4ˆÜ�a—g‘g“iÓ ¤F¨1¯7©7«9Ó$5Ô5Ð5Ð5Ü�a—g‘g“iÓ ¤F¨1¯7©7«9Ó$5Ô5Ð5Ð5Ü�a—g‘g 4�gÓ(Ó)¬V°A·G±GÀ°GÓ4FÓ-GÔGÐGÐGØ×Ñ×$Ñ$ QÔ'ä×Ò˜d×7Ñ7Ó8ˆÜ�a—g‘g“iÓ ¤F¨2¯8©8«:Ó$6Ô6Ð6Ð6Ü�a—g‘g“iÓ ¤F¨2¯8©8«:Ó$6Ô6Ð6Ð6Ü�a—g‘g 4�gÓ(Ó)¬V°B·H±HÀ$°HÓ4GÓ-HÔHÐHÒHrf   c                óT  € V P                   p\        P                  ! V P                  4      p\	        VP                  4       VP                  4       4      '       g   Q h\        VP                  4       VP                  4       4      '       g   Q hV P                  P                  ^ 4       \        P                  ! V P                  4      p\	        VP                  4       VP                  4       4      '       g   Q h\        VP                  4       VP                  4       4      '       g   Q hR# ©r   N)rU   r<   rw   rV   r   ry   r   rz   r{   r|   rS   r}   s   &   rc   Ú#test_read_simple_undirected_graphmlÚ3TestReadGraphML.test_read_simple_undirected_graphmlG  sÇ   € Ø×(Ñ(ˆÜ�OŠO˜D×5Ñ5Ó6ˆÜ˜1Ÿ7™7›9 a§g¡g£i×0Ò0Ð0Ð0Ü˜1Ÿ7™7›9 a§g¡g£i×0Ò0Ð0Ð0Ø×!Ñ!×&Ñ& qÔ)ä×Ò˜d×9Ñ9Ó:ˆÜ˜1Ÿ7™7›9 b§h¡h£j×1Ò1Ð1Ð1Ü˜1Ÿ7™7›9 b§h¡h£j×1Ò1Ð1Ò1rf   c                óT  € V P                   p\        P                  ! V P                  4      p\	        VP                  4       VP                  4       4      '       g   Q h\        VP                  4       VP                  4       4      '       g   Q hV P                  P                  ^ 4       \        P                  ! V P                  4      p\	        VP                  4       VP                  4       4      '       g   Q h\        VP                  4       VP                  4       4      '       g   Q hR# r„   )rY   r<   rw   rZ   r   ry   r   rz   r{   r|   rW   r}   s   &   rc   Ú'test_read_undirected_multigraph_graphmlÚ7TestReadGraphML.test_read_undirected_multigraph_graphmlR  sÇ   € Ø×&Ñ&ˆÜ�OŠO˜D×9Ñ9Ó:ˆÜ˜1Ÿ7™7›9 a§g¡g£i×0Ò0Ð0Ð0Ü˜1Ÿ7™7›9 a§g¡g£i×0Ò0Ð0Ð0Ø×%Ñ%×*Ñ*¨1Ô-ä×Ò˜d×=Ñ=Ó>ˆÜ˜1Ÿ7™7›9 b§h¡h£j×1Ò1Ð1Ð1Ü˜1Ÿ7™7›9 b§h¡h£j×1Ò1Ð1Ò1rf   c                óT  € V P                   p\        P                  ! V P                  4      p\	        VP                  4       VP                  4       4      '       g   Q h\        VP                  4       VP                  4       4      '       g   Q hV P                  P                  ^ 4       \        P                  ! V P                  4      p\	        VP                  4       VP                  4       4      '       g   Q h\        VP                  4       VP                  4       4      '       g   Q hR# r„   )r\   r<   rw   r]   r   ry   r   rz   r{   r|   r[   r}   s   &   rc   Ú4test_read_undirected_multigraph_no_multiedge_graphmlÚDTestReadGraphML.test_read_undirected_multigraph_no_multiedge_graphml]  óÇ   € Ø×3Ñ3ˆÜ�OŠO˜D×FÑFÓGˆÜ˜1Ÿ7™7›9 a§g¡g£i×0Ò0Ð0Ð0Ü˜1Ÿ7™7›9 a§g¡g£i×0Ò0Ð0Ð0Ø×2Ñ2×7Ñ7¸Ô:ä×Ò˜d×JÑJÓKˆÜ˜1Ÿ7™7›9 b§h¡h£j×1Ò1Ð1Ð1Ü˜1Ÿ7™7›9 b§h¡h£j×1Ò1Ð1Ò1rf   c                óT  € V P                   p\        P                  ! V P                  4      p\	        VP                  4       VP                  4       4      '       g   Q h\        VP                  4       VP                  4       4      '       g   Q hV P                  P                  ^ 4       \        P                  ! V P                  4      p\	        VP                  4       VP                  4       4      '       g   Q h\        VP                  4       VP                  4       4      '       g   Q hR# r„   )r_   r<   rw   r`   r   ry   r   rz   r{   r|   r^   r}   s   &   rc   Ú?test_read_undirected_multigraph_only_ids_for_multiedges_graphmlÚOTestReadGraphML.test_read_undirected_multigraph_only_ids_for_multiedges_graphmlh  r�   rf   c           	     ó  € V P                   p\        P                  ! V P                  4      p\	        VP                  R 4      \        VP                  R R7      4      4      '       g   Q h\        VP                  R R7      4      p\        VP                  R R7      4      p\        W44       F  w  rVWV8X  d   K  Q h	  V P                  P                  ^ 4       \        P                  ! V P                  4      p\        VP                  R 4      4      \        VP                  R R7      4      8X  g   Q h\        VP                  R R7      4      p\        VP                  R R7      4      p\        W44       F  w  rVWV8X  d   K  Q h	  R# rt   )rG   r<   rw   rI   r   ry   rx   rz   Úzipr{   r|   rF   )r~   r   r   ÚgeÚheÚaÚbr€   s   &       rc   Útest_read_attribute_graphmlÚ+TestReadGraphML.test_read_attribute_graphmls  s'  € Ø× Ñ ˆÜ�OŠO˜D×-Ñ-Ó.ˆÜ˜1Ÿ7™7 4›=¬&°·±¸d°Ó1CÓ*D×EÒEÐEÐEÜ�A—G‘G �GÓ&Ó'ˆÜ�A—G‘G �GÓ&Ó'ˆÜ˜–K‰DˆAØ–6ˆM�6ñ  à×Ñ×Ñ˜qÔ!ä×Ò˜d×1Ñ1Ó2ˆÜ�a—g‘g˜d“mÓ$¬¨r¯x©x¸T¨xÓ/BÓ(CÔCÐCÐCÜ�A—G‘G �GÓ&Ó'ˆÜ�B—H‘H $�HÓ'Ó(ˆÜ˜–K‰DˆAØ–6ˆM�6ó  rf   c                ó´   € V P                   p\        P                  ! V P                  4      pVP                  R ,          VP                  R ,          8X  g   Q hR# )r   N)rK   r<   rw   rL   rH   )r~   r   r   s   &  rc   Ú#test_node_default_attribute_graphmlÚ3TestReadGraphML.test_node_default_attribute_graphml„  sA   € Ø×-Ñ-ˆÜ�OŠO˜D×:Ñ:Ó;ˆØ�w‰w�~Õ&¨!¯'©'°.Õ*AÔAÐAÒArf   c                ó$  € R p\         P                  ! VP                  R4      4      p\        P                  ! \
        P                  \
        P                  V4       \        P                  ! \
        P                  \
        P                  V4       R# )aÛ  <?xml version="1.0" encoding="UTF-8"?>
<graphml xmlns="http://graphml.graphdrawing.org/xmlns"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns
         http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
  <graph id="G">
    <node id="n0"/>
    <node id="n1"/>
    <node id="n2"/>
    <edge source="n0" target="n1"/>
    <edge source="n1" target="n2" directed='true'/>
  </graph>
</graphml>r   N©	rB   rC   rD   ÚpytestÚraisesr<   ÚNetworkXErrorrw   r|   ©r~   Úsrb   s   &  rc   Ú test_directed_edge_in_undirectedÚ0TestReadGraphML.test_directed_edge_in_undirected‰  óX   € ðˆô �ZŠZ˜Ÿ™ Ó)Ó*ˆÜ�Š”b×&Ñ&¬¯©¸Ô<Ü�Š”b×&Ñ&¬×(8Ñ(8¸!Ö<rf   c                ó$  € R p\         P                  ! VP                  R4      4      p\        P                  ! \
        P                  \
        P                  V4       \        P                  ! \
        P                  \
        P                  V4       R# )aó  <?xml version="1.0" encoding="UTF-8"?>
<graphml xmlns="http://graphml.graphdrawing.org/xmlns"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns
         http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
  <graph id="G" edgedefault='directed'>
    <node id="n0"/>
    <node id="n1"/>
    <node id="n2"/>
    <edge source="n0" target="n1"/>
    <edge source="n1" target="n2" directed='false'/>
  </graph>
</graphml>r   Nr�   r¡   s   &  rc   Ú test_undirected_edge_in_directedÚ0TestReadGraphML.test_undirected_edge_in_directed›  r¥   rf   c                ó$  € R p\         P                  ! VP                  R4      4      p\        P                  ! \
        P                  \
        P                  V4       \        P                  ! \
        P                  \
        P                  V4       R# )aô  <?xml version="1.0" encoding="UTF-8"?>
<graphml xmlns="http://graphml.graphdrawing.org/xmlns"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns
         http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
  <key id="d0" for="node" attr.name="color" attr.type="string">
    <default>yellow</default>
  </key>
  <key id="d1" for="edge" attr.name="weight" attr.type="double"/>
  <graph id="G" edgedefault="directed">
    <node id="n0">
      <data key="d0">green</data>
    </node>
    <node id="n1"/>
    <node id="n2">
      <data key="d0">blue</data>
    </node>
    <edge id="e0" source="n0" target="n2">
      <data key="d2">1.0</data>
    </edge>
  </graph>
</graphml>
r   Nr�   r¡   s   &  rc   Útest_key_raiseÚTestReadGraphML.test_key_raise­  sX   € ðˆô. �ZŠZ˜Ÿ™ Ó)Ó*ˆÜ�Š”b×&Ñ&¬¯©¸Ô<Ü�Š”b×&Ñ&¬×(8Ñ(8¸!Ö<rf   c                ó$  € R p\         P                  ! VP                  R4      4      p\        P                  ! \
        P                  \
        P                  V4       \        P                  ! \
        P                  \
        P                  V4       R# )a5  <?xml version="1.0" encoding="UTF-8"?>
<graphml xmlns="http://graphml.graphdrawing.org/xmlns"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns
         http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
  <key id="d0" for="node" attr.name="color" attr.type="string">
    <default>yellow</default>
  </key>
  <key id="d1" for="edge" attr.name="weight" attr.type="double"/>
  <graph id="G" edgedefault="directed">
    <node id="n0">
      <data key="d0">green</data>
    </node>
    <node id="n1"/>
    <node id="n2">
      <data key="d0">blue</data>
    </node>
    <hyperedge id="e0" source="n0" target="n2">
       <endpoint node="n0"/>
       <endpoint node="n1"/>
       <endpoint node="n2"/>
    </hyperedge>
  </graph>
</graphml>
r   Nr�   r¡   s   &  rc   Útest_hyperedge_raiseÚ$TestReadGraphML.test_hyperedge_raiseÉ  sX   € ðˆô2 �ZŠZ˜Ÿ™ Ó)Ó*ˆÜ�Š”b×&Ñ&¬¯©¸Ô<Ü�Š”b×&Ñ&¬×(8Ñ(8¸!Ö<rf   c                ó^  € R p\         P                  ! VP                  R4      4      p\        P                  ! V4      pRR.p\        VP                  RR7      4      V8X  g   Q hVP                  ^ 4       \        P                  ! V4      p\        VP                  RR7      4      V8X  g   Q hR# )aß  <?xml version="1.0" encoding="UTF-8"?>
<graphml xmlns="http://graphml.graphdrawing.org/xmlns"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns
         http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
  <graph id="G" edgedefault="directed">
    <node id="n0"/>
    <node id="n1"/>
    <edge id="e0" source="n0" target="n1"/>
    <edge id="e1" source="n0" target="n1"/>
  </graph>
</graphml>
r   T©ÚkeysN)r
   r   r   )r
   r   r   )	rB   rC   rD   r<   rw   rx   rz   r{   r|   ©r~   r¢   rb   r   Úexpectedr   s   &     rc   Útest_multigraph_keysÚ$TestReadGraphML.test_multigraph_keysç  s’   € ðˆô �ZŠZ˜Ÿ™ Ó)Ó*ˆÜ�OŠO˜BÓˆØ&Ð(:Ð;ˆÜ�a—g‘g 4�gÓ(Ó)¨XÔ5Ð5Ð5Ø
�‰�Œ
Ü×Ò˜QÓˆÜ�a—g‘g 4�gÓ(Ó)¨XÔ5Ð5Ò5rf   c                óÚ  € \         P                  ! 4       pVP                  ^4       VP                  ^4       VP                  R^^RR/3^^RR/3^^RRRR/3^^^gRR/3^^^hRR/3^^^iRR	RR
/3.4       \        P
                  ! 4       p\         P                  ! W4       VP                  ^ 4       \         P                  ! V\        R7      p\        VP                  RRR7      VP                  RRR7      4      '       g   Q hVP                  VP                  8X  g   Q hVP                  P                  4        UUUUUU	u/ uFm  w  rE\        V4      VP                  4        UUUU	u/ uF=  w  rg\        V4      VP                  4        UU	u/ uF  w  r‰\        V4      V	bK  	  up	pbK?  	  up	pppbKo  	  p
pppppp	VP                  ^ 4       \         P                  ! V\        \        R7      pW«P                  8X  g   Q hVP                  ^ 4       VP                  4       p\         P                   ! V\        \        R7      pW«P                  8X  g   Q hR# u up	pi u up	pppi u up	pppppi )zN
Test that data and keys of edges are preserved on consequent
write and reads
ÚkeyÚ	data_key1r   Údata_id2Ú	data_key3Údata_id3Ú	data_key4Údata_id5Ú	data_key6Údata_id7©Ú	node_typeT)rv   r±   )rÁ   Úedge_key_typeN)é   é   )r<   rX   r?   rA   rB   rC   Úwrite_graphmlr{   rw   Úintr   rz   Ú_adjÚitemsÚstrÚreadr|   )r~   r   rb   r   ÚnodeÚnbr_dictÚnbrÚkey_dictÚekeyÚddÚGadjÚHHÚ	string_fhs   &            rc   Útest_preserve_multi_edge_dataÚ-TestReadGraphML.test_preserve_multi_edge_dataþ  s#  € ô
 �MŠM‹OˆØ	�
‰
�1ŒØ	�
‰
�1ŒØ	×Ñð à�A˜˜{Ð+Ð,Ø�A˜˜jÐ)Ð*Ø�A˜˜{¨D°*Ð=Ð>à�A�s˜U KÐ0Ð1Ø�A�s˜T :Ð.Ð/Ø�A�s˜U K°°zÐBÐCðô	
ô �ZŠZ‹\ˆÜ
×Ò˜ÔØ
�‰�Œ
Ü�OŠO˜B¬#Ô.ˆÜ˜1Ÿ7™7¨°4˜7Ó8¸!¿'¹'ÀtÐRV¸'Ó:W×XÒXÐXÐXØ�v‰v˜Ÿ™ÔÐÐð #$§&¡&§,¡,¤.÷
ð 
ñ
 #1‘�ô	 �‹Ià%-§^¡^Ô%5öá%5‘M�Cô �C“¸¿¹Ô9IÔJÑ9I©X¨Tœ3˜t›9 bš=Ñ9IÒJÒJÙ%5ôò ñ #1ð 	õ 
ð 	�‰�Œ
Ü�_Š_˜R¬3¼cÔBˆØ—w‘wŒÐˆà
�‰�Œ
Ø—G‘G“Iˆ	Ü×Ò˜i´3ÄcÔJˆØ—w‘wŒÐŠùó Kùõù÷
s*   Å&I#Å'$IÆI&Æ"IÆ*
I#ÉIÉI#c                óF  € R p\         P                  ! VP                  R4      4      p\        P                  ! VRR7      p\        VP                  4       4      R.8X  g   Q hVP                  RRRR7      '       g   Q hVP                  R,          R,          R	8X  g   Q hVP                  R,          R,          R
8X  g   Q hVP                  R,          R,          R8X  g   Q hVP                  R,          R,          R8X  g   Q hVP                  R,          R,          R8X  g   Q hVP                  R,          R,          R8X  g   Q hVP                  R,          R,          R8X  g   Q hVP                  ^ 4       \        P                  ! V4      p\        VP                  4       4      R.8X  g   Q hVR,          R,          R,          R8X  g   Q hVP                  R,          R,          R	8X  g   Q hVP                  R,          R,          R
8X  g   Q hVP                  R,          R,          R8X  g   Q hVP                  R,          R,          R8X  g   Q hVP                  R,          R,          R8X  g   Q hVP                  R,          R,          R8X  g   Q hVP                  R,          R,          R8X  g   Q h\        P                  ! VRR7      p\        VP                  4       4      R.8X  g   Q hVP                  RRRR7      '       g   Q hVP                  R,          R,          R	8X  g   Q hVP                  R,          R,          R
8X  g   Q hVP                  R,          R,          R8X  g   Q h\        P                  ! V4      p\        VP                  4       4      R.8X  g   Q hVR,          R,          R,          R8X  g   Q hVP                  R,          R,          R	8X  g   Q hVP                  R,          R,          R
8X  g   Q hVP                  R,          R,          R8X  g   Q hR# )aI  <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<graphml xmlns="http://graphml.graphdrawing.org/xmlns"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xmlns:y="http://www.yworks.com/xml/graphml"
         xmlns:yed="http://www.yworks.com/xml/yed/3"
         xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns
         http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
  <!--Created by yFiles for Java 2.7-->
  <key for="graphml" id="d0" yfiles.type="resources"/>
  <key attr.name="url" attr.type="string" for="node" id="d1"/>
  <key attr.name="description" attr.type="string" for="node" id="d2"/>
  <key for="node" id="d3" yfiles.type="nodegraphics"/>
  <key attr.name="Description" attr.type="string" for="graph" id="d4">
    <default/>
  </key>
  <key attr.name="url" attr.type="string" for="edge" id="d5"/>
  <key attr.name="description" attr.type="string" for="edge" id="d6"/>
  <key for="edge" id="d7" yfiles.type="edgegraphics"/>
  <graph edgedefault="directed" id="G">
    <node id="n0">
      <data key="d3">
        <y:ShapeNode>
          <y:Geometry height="30.0" width="30.0" x="125.0" y="100.0"/>
          <y:Fill color="#FFCC00" transparent="false"/>
          <y:BorderStyle color="#000000" type="line" width="1.0"/>
          <y:NodeLabel alignment="center" autoSizePolicy="content"
           borderDistance="0.0" fontFamily="Dialog" fontSize="13"
           fontStyle="plain" hasBackgroundColor="false" hasLineColor="false"
           height="19.1328125" modelName="internal" modelPosition="c"
           textColor="#000000" visible="true" width="12.27099609375"
           x="8.864501953125" y="5.43359375">1</y:NodeLabel>
          <y:Shape type="rectangle"/>
        </y:ShapeNode>
      </data>
    </node>
    <node id="n1">
      <data key="d3">
        <y:ShapeNode>
          <y:Geometry height="30.0" width="30.0" x="183.0" y="205.0"/>
          <y:Fill color="#FFCC00" transparent="false"/>
          <y:BorderStyle color="#000000" type="line" width="1.0"/>
          <y:NodeLabel alignment="center" autoSizePolicy="content"
          borderDistance="0.0" fontFamily="Dialog" fontSize="13"
          fontStyle="plain" hasBackgroundColor="false" hasLineColor="false"
          height="19.1328125" modelName="internal" modelPosition="c"
          textColor="#000000" visible="true" width="12.27099609375"
          x="8.864501953125" y="5.43359375">2</y:NodeLabel>
          <y:Shape type="rectangle"/>
        </y:ShapeNode>
      </data>
    </node>
    <node id="n2">
      <data key="d6" xml:space="preserve"><![CDATA[description
line1
line2]]></data>
      <data key="d3">
        <y:GenericNode configuration="com.yworks.flowchart.terminator">
          <y:Geometry height="40.0" width="80.0" x="950.0" y="286.0"/>
          <y:Fill color="#E8EEF7" color2="#B7C9E3" transparent="false"/>
          <y:BorderStyle color="#000000" type="line" width="1.0"/>
          <y:NodeLabel alignment="center" autoSizePolicy="content"
          fontFamily="Dialog" fontSize="12" fontStyle="plain"
          hasBackgroundColor="false" hasLineColor="false" height="17.96875"
          horizontalTextPosition="center" iconTextGap="4" modelName="custom"
          textColor="#000000" verticalTextPosition="bottom" visible="true"
          width="67.984375" x="6.0078125" xml:space="preserve"
          y="11.015625">3<y:LabelModel>
          <y:SmartNodeLabelModel distance="4.0"/></y:LabelModel>
          <y:ModelParameter><y:SmartNodeLabelModelParameter labelRatioX="0.0"
          labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0"
          offsetY="0.0" upX="0.0" upY="-1.0"/></y:ModelParameter></y:NodeLabel>
        </y:GenericNode>
      </data>
    </node>
    <edge id="e0" source="n0" target="n1">
      <data key="d7">
        <y:PolyLineEdge>
          <y:Path sx="0.0" sy="0.0" tx="0.0" ty="0.0"/>
          <y:LineStyle color="#000000" type="line" width="1.0"/>
          <y:Arrows source="none" target="standard"/>
          <y:BendStyle smoothed="false"/>
        </y:PolyLineEdge>
      </data>
    </edge>
  </graph>
  <data key="d0">
    <y:Resources/>
  </data>
</graphml>
r   T©Úforce_multigraphr
   r   r   )r·   Úlabelr0   Ú2r   Ú3Ú
shape_typeÚ	rectanglezcom.yworks.flowchart.terminatorÚdescriptionzdescription
line1
line2r   N)r
   r   )rB   rC   rD   r<   rw   Úlistrz   Úhas_edgery   r{   r|   )r~   rv   rb   r   r   s   &    rc   Útest_yfiles_extensionÚ%TestReadGraphML.test_yfiles_extension+  sc  € ðYˆôt �ZŠZ˜Ÿ™ GÓ,Ó-ˆÜ�OŠO˜B°Ô6ˆÜ�A—G‘G“I‹ < .Ô0Ð0Ð0Ø�z‰z˜$ ¨$ˆz×/Ò/Ð/Ð/Ø�w‰w�t�}˜WÕ%¨Ô,Ð,Ð,Ø�w‰w�t�}˜WÕ%¨Ô,Ð,Ð,Ø�w‰w�t�}˜WÕ%¨Ô,Ð,Ð,Ø�w‰w�t�}˜\Õ*¨kÔ9Ð9Ð9Ø�w‰w�t�}˜\Õ*¨kÔ9Ð9Ð9Ø�w‰w�t�}˜\Õ*Ð.OÔOÐOÐOØ�w‰w�t�}˜]Õ+Ð/JÔJÐJÐJØ
�‰�Œ
Ü�OŠO˜BÓˆÜ�A—G‘G“I‹ < .Ô0Ð0Ð0Ø��w�t�}˜TÕ" dÔ*Ð*Ð*Ø�w‰w�t�}˜WÕ%¨Ô,Ð,Ð,Ø�w‰w�t�}˜WÕ%¨Ô,Ð,Ð,Ø�w‰w�t�}˜WÕ%¨Ô,Ð,Ð,Ø�w‰w�t�}˜\Õ*¨kÔ9Ð9Ð9Ø�w‰w�t�}˜\Õ*¨kÔ9Ð9Ð9Ø�w‰w�t�}˜\Õ*Ð.OÔOÐOÐOØ�w‰w�t�}˜]Õ+Ð/JÔJÐJÐJä×Ò˜T°DÔ9ˆÜ�A—G‘G“I‹ < .Ô0Ð0Ð0Ø�z‰z˜$ ¨$ˆz×/Ò/Ð/Ð/Ø�w‰w�t�}˜WÕ%¨Ô,Ð,Ð,Ø�w‰w�t�}˜WÕ%¨Ô,Ð,Ð,Ø�w‰w�t�}˜WÕ%¨Ô,Ð,Ð,ä×Ò˜TÓ"ˆÜ�A—G‘G“I‹ < .Ô0Ð0Ð0Ø��w�t�}˜TÕ" dÔ*Ð*Ð*Ø�w‰w�t�}˜WÕ%¨Ô,Ð,Ð,Ø�w‰w�t�}˜WÕ%¨Ô,Ð,Ð,Ø�w‰w�t�}˜WÕ%¨Ô,Ð,Ò,rf   c                óX  € R p\         P                  ! VP                  R4      4      p\        P                  ! V4      p\        P
                  ! V4      pW43 FÏ  pVP                  R,          R,          '       g   Q hVP                  R,          R,          '       d   Q hVP                  R,          R,          '       d   Q hVP                  R,          R,          '       g   Q hVP                  R,          R,          '       d   Q hVP                  R,          R,          '       d   KÏ  Q h	  R	# )
aU  <?xml version="1.0" encoding="UTF-8"?>
<graphml xmlns="http://graphml.graphdrawing.org/xmlns"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns
         http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
  <key id="d0" for="node" attr.name="test" attr.type="boolean">
    <default>false</default>
  </key>
  <graph id="G" edgedefault="directed">
    <node id="n0">
      <data key="d0">true</data>
    </node>
    <node id="n1"/>
    <node id="n2">
      <data key="d0">false</data>
    </node>
    <node id="n3">
      <data key="d0">FaLsE</data>
    </node>
    <node id="n4">
      <data key="d0">True</data>
    </node>
    <node id="n5">
      <data key="d0">0</data>
    </node>
    <node id="n6">
      <data key="d0">1</data>
    </node>
  </graph>
</graphml>
r   r
   Útestr   r   r   r   r7   N)rB   rC   rD   r<   rw   r|   ry   )r~   r¢   rb   r   r   rH   s   &     rc   Ú	test_boolÚTestReadGraphML.test_bool«  sè   € ðˆô> �ZŠZ˜Ÿ™ Ó)Ó*ˆÜ�OŠO˜BÓˆÜ×Ò˜QÓˆØ“VˆEØ—;‘;˜tÕ$ V×,Ô,Ð,Ð,Ø—{‘{ 4Õ(¨×0Ô0Ð0Ð0Ø—{‘{ 4Õ(¨×0Ô0Ð0Ð0Ø—;‘;˜tÕ$ V×,Ô,Ð,Ð,Ø—{‘{ 4Õ(¨×0Ô0Ð0Ð0Ø—;‘;˜tÕ$ V×,Ö,Ð,Ð,ó rf   c                ó:  € R pRpRpW3 F€  p\         P                  ! VP                  R4      4      p\        P                  ! V4      p\        P
                  ! V4      pWg3 F%  pVP                  R,          R,          '       d   K%  Q h	  K‚  	  \         P                  ! VP                  R4      4      p\        P                  ! \        P                  \        P                  V4       \        P                  ! \        P                  \        P
                  V4       R# )aþ  <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<graphml xmlns="http://graphml.graphdrawing.org/xmlns"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns
         http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
  <key id="d0" for="node" attr.name="test" attr.type="boolean">
    <default>false</default>
  </key>
  <graph id="G">
    <node id="n0">
      <data key="d0">true</data>
    </node>
  </graph>
</graphml>
a  <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<graphml>
  <key id="d0" for="node" attr.name="test" attr.type="boolean">
    <default>false</default>
  </key>
  <graph id="G">
    <node id="n0">
      <data key="d0">true</data>
    </node>
  </graph>
</graphml>
a%  <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<graphml xmlns="https://ghghgh">
  <key id="d0" for="node" attr.name="test" attr.type="boolean">
    <default>false</default>
  </key>
  <graph id="G">
    <node id="n0">
      <data key="d0">true</data>
    </node>
  </graph>
</graphml>
r   r
   rä   N)
rB   rC   rD   r<   rw   r|   ry   rž   rŸ   r    )	r~   ÚgoodÚbadÚuglyr¢   rb   r   r   rH   s	   &        rc   Útest_graphml_header_lineÚ(TestReadGraphML.test_graphml_header_lineÖ  sÏ   € ðˆðˆðˆð “ˆAÜ—’˜AŸH™H WÓ-Ó.ˆBÜ—’ Ó#ˆAÜ× Ò  Ó#ˆAØ›�Ø—{‘{ 4Õ(¨×0Ö0Ð0Ð0ó  ñ	 ô �ZŠZ˜Ÿ™ GÓ,Ó-ˆÜ�Š”b×&Ñ&¬¯©¸Ô<Ü�Š”b×&Ñ&¬×(8Ñ(8¸$Ö?rf   c                ó,  € R p\         P                  ! VP                  R4      4      p\        P                  ! V4      pVP                  RR7       UUu. uF  w  rEVNK	  	  ppp\        V4      ^	8X  g   Q hV F  pVR,          R8w  d   K  Q h	  R# u uppi )a‡I  <?xml version="1.0" encoding="UTF-8" standalone="no"?>
<graphml xmlns="http://graphml.graphdrawing.org/xmlns" xmlns:java="http://www.yworks.com/xml/yfiles-common/1.0/java" xmlns:sys="http://www.yworks.com/xml/yfiles-common/markup/primitives/2.0" xmlns:x="http://www.yworks.com/xml/yfiles-common/markup/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:y="http://www.yworks.com/xml/graphml" xmlns:yed="http://www.yworks.com/xml/yed/3" xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns http://www.yworks.com/xml/schema/graphml/1.1/ygraphml.xsd">
  <!--Created by yEd 3.17-->
  <key attr.name="Description" attr.type="string" for="graph" id="d0"/>
  <key for="port" id="d1" yfiles.type="portgraphics"/>
  <key for="port" id="d2" yfiles.type="portgeometry"/>
  <key for="port" id="d3" yfiles.type="portuserdata"/>
  <key attr.name="CustomProperty" attr.type="string" for="node" id="d4">
    <default/>
  </key>
  <key attr.name="url" attr.type="string" for="node" id="d5"/>
  <key attr.name="description" attr.type="string" for="node" id="d6"/>
  <key for="node" id="d7" yfiles.type="nodegraphics"/>
  <key for="graphml" id="d8" yfiles.type="resources"/>
  <key attr.name="url" attr.type="string" for="edge" id="d9"/>
  <key attr.name="description" attr.type="string" for="edge" id="d10"/>
  <key for="edge" id="d11" yfiles.type="edgegraphics"/>
  <graph edgedefault="directed" id="G">
    <data key="d0"/>
    <node id="n0">
      <data key="d4"><![CDATA[CustomPropertyValue]]></data>
      <data key="d6"/>
      <data key="d7">
        <y:ShapeNode>
          <y:Geometry height="30.0" width="30.0" x="125.0" y="-255.4611111111111"/>
          <y:Fill color="#FFCC00" transparent="false"/>
          <y:BorderStyle color="#000000" raised="false" type="line" width="1.0"/>
          <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="11.634765625" x="9.1826171875" y="6.015625">2<y:LabelModel>
              <y:SmartNodeLabelModel distance="4.0"/>
            </y:LabelModel>
            <y:ModelParameter>
              <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
            </y:ModelParameter>
          </y:NodeLabel>
          <y:Shape type="rectangle"/>
        </y:ShapeNode>
      </data>
    </node>
    <node id="n1" yfiles.foldertype="group">
      <data key="d4"><![CDATA[CustomPropertyValue]]></data>
      <data key="d5"/>
      <data key="d6"/>
      <data key="d7">
        <y:ProxyAutoBoundsNode>
          <y:Realizers active="0">
            <y:GroupNode>
              <y:Geometry height="250.38333333333333" width="140.0" x="-30.0" y="-330.3833333333333"/>
              <y:Fill color="#F5F5F5" transparent="false"/>
              <y:BorderStyle color="#000000" type="dashed" width="1.0"/>
              <y:NodeLabel alignment="right" autoSizePolicy="node_width" backgroundColor="#EBEBEB" borderDistance="0.0" fontFamily="Dialog" fontSize="15" fontStyle="plain" hasLineColor="false" height="21.4609375" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="t" textColor="#000000" verticalTextPosition="bottom" visible="true" width="140.0" x="0.0" y="0.0">Group 3</y:NodeLabel>
              <y:Shape type="roundrectangle"/>
              <y:State closed="false" closedHeight="50.0" closedWidth="50.0" innerGraphDisplayEnabled="false"/>
              <y:Insets bottom="15" bottomF="15.0" left="15" leftF="15.0" right="15" rightF="15.0" top="15" topF="15.0"/>
              <y:BorderInsets bottom="1" bottomF="1.0" left="0" leftF="0.0" right="0" rightF="0.0" top="1" topF="1.0001736111111086"/>
            </y:GroupNode>
            <y:GroupNode>
              <y:Geometry height="50.0" width="50.0" x="0.0" y="60.0"/>
              <y:Fill color="#F5F5F5" transparent="false"/>
              <y:BorderStyle color="#000000" type="dashed" width="1.0"/>
              <y:NodeLabel alignment="right" autoSizePolicy="node_width" backgroundColor="#EBEBEB" borderDistance="0.0" fontFamily="Dialog" fontSize="15" fontStyle="plain" hasLineColor="false" height="21.4609375" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="t" textColor="#000000" verticalTextPosition="bottom" visible="true" width="65.201171875" x="-7.6005859375" y="0.0">Folder 3</y:NodeLabel>
              <y:Shape type="roundrectangle"/>
              <y:State closed="true" closedHeight="50.0" closedWidth="50.0" innerGraphDisplayEnabled="false"/>
              <y:Insets bottom="5" bottomF="5.0" left="5" leftF="5.0" right="5" rightF="5.0" top="5" topF="5.0"/>
              <y:BorderInsets bottom="0" bottomF="0.0" left="0" leftF="0.0" right="0" rightF="0.0" top="0" topF="0.0"/>
            </y:GroupNode>
          </y:Realizers>
        </y:ProxyAutoBoundsNode>
      </data>
      <graph edgedefault="directed" id="n1:">
        <node id="n1::n0" yfiles.foldertype="group">
          <data key="d4"><![CDATA[CustomPropertyValue]]></data>
          <data key="d5"/>
          <data key="d6"/>
          <data key="d7">
            <y:ProxyAutoBoundsNode>
              <y:Realizers active="0">
                <y:GroupNode>
                  <y:Geometry height="83.46111111111111" width="110.0" x="-15.0" y="-292.9222222222222"/>
                  <y:Fill color="#F5F5F5" transparent="false"/>
                  <y:BorderStyle color="#000000" type="dashed" width="1.0"/>
                  <y:NodeLabel alignment="right" autoSizePolicy="node_width" backgroundColor="#EBEBEB" borderDistance="0.0" fontFamily="Dialog" fontSize="15" fontStyle="plain" hasLineColor="false" height="21.4609375" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="t" textColor="#000000" verticalTextPosition="bottom" visible="true" width="110.0" x="0.0" y="0.0">Group 1</y:NodeLabel>
                  <y:Shape type="roundrectangle"/>
                  <y:State closed="false" closedHeight="50.0" closedWidth="50.0" innerGraphDisplayEnabled="false"/>
                  <y:Insets bottom="15" bottomF="15.0" left="15" leftF="15.0" right="15" rightF="15.0" top="15" topF="15.0"/>
                  <y:BorderInsets bottom="1" bottomF="1.0" left="0" leftF="0.0" right="0" rightF="0.0" top="1" topF="1.0001736111111086"/>
                </y:GroupNode>
                <y:GroupNode>
                  <y:Geometry height="50.0" width="50.0" x="0.0" y="60.0"/>
                  <y:Fill color="#F5F5F5" transparent="false"/>
                  <y:BorderStyle color="#000000" type="dashed" width="1.0"/>
                  <y:NodeLabel alignment="right" autoSizePolicy="node_width" backgroundColor="#EBEBEB" borderDistance="0.0" fontFamily="Dialog" fontSize="15" fontStyle="plain" hasLineColor="false" height="21.4609375" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="t" textColor="#000000" verticalTextPosition="bottom" visible="true" width="65.201171875" x="-7.6005859375" y="0.0">Folder 1</y:NodeLabel>
                  <y:Shape type="roundrectangle"/>
                  <y:State closed="true" closedHeight="50.0" closedWidth="50.0" innerGraphDisplayEnabled="false"/>
                  <y:Insets bottom="5" bottomF="5.0" left="5" leftF="5.0" right="5" rightF="5.0" top="5" topF="5.0"/>
                  <y:BorderInsets bottom="0" bottomF="0.0" left="0" leftF="0.0" right="0" rightF="0.0" top="0" topF="0.0"/>
                </y:GroupNode>
              </y:Realizers>
            </y:ProxyAutoBoundsNode>
          </data>
          <graph edgedefault="directed" id="n1::n0:">
            <node id="n1::n0::n0">
              <data key="d4"><![CDATA[CustomPropertyValue]]></data>
              <data key="d6"/>
              <data key="d7">
                <y:ShapeNode>
                  <y:Geometry height="30.0" width="30.0" x="50.0" y="-255.4611111111111"/>
                  <y:Fill color="#FFCC00" transparent="false"/>
                  <y:BorderStyle color="#000000" raised="false" type="line" width="1.0"/>
                  <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="11.634765625" x="9.1826171875" y="6.015625">1<y:LabelModel>
                      <y:SmartNodeLabelModel distance="4.0"/>
                    </y:LabelModel>
                    <y:ModelParameter>
                      <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
                    </y:ModelParameter>
                  </y:NodeLabel>
                  <y:Shape type="rectangle"/>
                </y:ShapeNode>
              </data>
            </node>
            <node id="n1::n0::n1">
              <data key="d4"><![CDATA[CustomPropertyValue]]></data>
              <data key="d6"/>
              <data key="d7">
                <y:ShapeNode>
                  <y:Geometry height="30.0" width="30.0" x="0.0" y="-255.4611111111111"/>
                  <y:Fill color="#FFCC00" transparent="false"/>
                  <y:BorderStyle color="#000000" raised="false" type="line" width="1.0"/>
                  <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="11.634765625" x="9.1826171875" y="6.015625">3<y:LabelModel>
                      <y:SmartNodeLabelModel distance="4.0"/>
                    </y:LabelModel>
                    <y:ModelParameter>
                      <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
                    </y:ModelParameter>
                  </y:NodeLabel>
                  <y:Shape type="rectangle"/>
                </y:ShapeNode>
              </data>
            </node>
          </graph>
        </node>
        <node id="n1::n1" yfiles.foldertype="group">
          <data key="d4"><![CDATA[CustomPropertyValue]]></data>
          <data key="d5"/>
          <data key="d6"/>
          <data key="d7">
            <y:ProxyAutoBoundsNode>
              <y:Realizers active="0">
                <y:GroupNode>
                  <y:Geometry height="83.46111111111111" width="110.0" x="-15.0" y="-179.4611111111111"/>
                  <y:Fill color="#F5F5F5" transparent="false"/>
                  <y:BorderStyle color="#000000" type="dashed" width="1.0"/>
                  <y:NodeLabel alignment="right" autoSizePolicy="node_width" backgroundColor="#EBEBEB" borderDistance="0.0" fontFamily="Dialog" fontSize="15" fontStyle="plain" hasLineColor="false" height="21.4609375" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="t" textColor="#000000" verticalTextPosition="bottom" visible="true" width="110.0" x="0.0" y="0.0">Group 2</y:NodeLabel>
                  <y:Shape type="roundrectangle"/>
                  <y:State closed="false" closedHeight="50.0" closedWidth="50.0" innerGraphDisplayEnabled="false"/>
                  <y:Insets bottom="15" bottomF="15.0" left="15" leftF="15.0" right="15" rightF="15.0" top="15" topF="15.0"/>
                  <y:BorderInsets bottom="1" bottomF="1.0" left="0" leftF="0.0" right="0" rightF="0.0" top="1" topF="1.0001736111111086"/>
                </y:GroupNode>
                <y:GroupNode>
                  <y:Geometry height="50.0" width="50.0" x="0.0" y="60.0"/>
                  <y:Fill color="#F5F5F5" transparent="false"/>
                  <y:BorderStyle color="#000000" type="dashed" width="1.0"/>
                  <y:NodeLabel alignment="right" autoSizePolicy="node_width" backgroundColor="#EBEBEB" borderDistance="0.0" fontFamily="Dialog" fontSize="15" fontStyle="plain" hasLineColor="false" height="21.4609375" horizontalTextPosition="center" iconTextGap="4" modelName="internal" modelPosition="t" textColor="#000000" verticalTextPosition="bottom" visible="true" width="65.201171875" x="-7.6005859375" y="0.0">Folder 2</y:NodeLabel>
                  <y:Shape type="roundrectangle"/>
                  <y:State closed="true" closedHeight="50.0" closedWidth="50.0" innerGraphDisplayEnabled="false"/>
                  <y:Insets bottom="5" bottomF="5.0" left="5" leftF="5.0" right="5" rightF="5.0" top="5" topF="5.0"/>
                  <y:BorderInsets bottom="0" bottomF="0.0" left="0" leftF="0.0" right="0" rightF="0.0" top="0" topF="0.0"/>
                </y:GroupNode>
              </y:Realizers>
            </y:ProxyAutoBoundsNode>
          </data>
          <graph edgedefault="directed" id="n1::n1:">
            <node id="n1::n1::n0">
              <data key="d4"><![CDATA[CustomPropertyValue]]></data>
              <data key="d6"/>
              <data key="d7">
                <y:ShapeNode>
                  <y:Geometry height="30.0" width="30.0" x="0.0" y="-142.0"/>
                  <y:Fill color="#FFCC00" transparent="false"/>
                  <y:BorderStyle color="#000000" raised="false" type="line" width="1.0"/>
                  <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="11.634765625" x="9.1826171875" y="6.015625">5<y:LabelModel>
                      <y:SmartNodeLabelModel distance="4.0"/>
                    </y:LabelModel>
                    <y:ModelParameter>
                      <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
                    </y:ModelParameter>
                  </y:NodeLabel>
                  <y:Shape type="rectangle"/>
                </y:ShapeNode>
              </data>
            </node>
            <node id="n1::n1::n1">
              <data key="d4"><![CDATA[CustomPropertyValue]]></data>
              <data key="d6"/>
              <data key="d7">
                <y:ShapeNode>
                  <y:Geometry height="30.0" width="30.0" x="50.0" y="-142.0"/>
                  <y:Fill color="#FFCC00" transparent="false"/>
                  <y:BorderStyle color="#000000" raised="false" type="line" width="1.0"/>
                  <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="11.634765625" x="9.1826171875" y="6.015625">6<y:LabelModel>
                      <y:SmartNodeLabelModel distance="4.0"/>
                    </y:LabelModel>
                    <y:ModelParameter>
                      <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
                    </y:ModelParameter>
                  </y:NodeLabel>
                  <y:Shape type="rectangle"/>
                </y:ShapeNode>
              </data>
            </node>
          </graph>
        </node>
      </graph>
    </node>
    <node id="n2">
      <data key="d4"><![CDATA[CustomPropertyValue]]></data>
      <data key="d6"/>
      <data key="d7">
        <y:ShapeNode>
          <y:Geometry height="30.0" width="30.0" x="125.0" y="-142.0"/>
          <y:Fill color="#FFCC00" transparent="false"/>
          <y:BorderStyle color="#000000" raised="false" type="line" width="1.0"/>
          <y:NodeLabel alignment="center" autoSizePolicy="content" fontFamily="Dialog" fontSize="12" fontStyle="plain" hasBackgroundColor="false" hasLineColor="false" height="17.96875" horizontalTextPosition="center" iconTextGap="4" modelName="custom" textColor="#000000" verticalTextPosition="bottom" visible="true" width="11.634765625" x="9.1826171875" y="6.015625">9<y:LabelModel>
              <y:SmartNodeLabelModel distance="4.0"/>
            </y:LabelModel>
            <y:ModelParameter>
              <y:SmartNodeLabelModelParameter labelRatioX="0.0" labelRatioY="0.0" nodeRatioX="0.0" nodeRatioY="0.0" offsetX="0.0" offsetY="0.0" upX="0.0" upY="-1.0"/>
            </y:ModelParameter>
          </y:NodeLabel>
          <y:Shape type="rectangle"/>
        </y:ShapeNode>
      </data>
    </node>
    <edge id="n1::n1::e0" source="n1::n1::n0" target="n1::n1::n1">
      <data key="d10"/>
      <data key="d11">
        <y:PolyLineEdge>
          <y:Path sx="15.0" sy="-0.0" tx="-15.0" ty="-0.0"/>
          <y:LineStyle color="#000000" type="line" width="1.0"/>
          <y:Arrows source="none" target="standard"/>
          <y:BendStyle smoothed="false"/>
        </y:PolyLineEdge>
      </data>
    </edge>
    <edge id="n1::n0::e0" source="n1::n0::n1" target="n1::n0::n0">
      <data key="d10"/>
      <data key="d11">
        <y:PolyLineEdge>
          <y:Path sx="15.0" sy="-0.0" tx="-15.0" ty="-0.0"/>
          <y:LineStyle color="#000000" type="line" width="1.0"/>
          <y:Arrows source="none" target="standard"/>
          <y:BendStyle smoothed="false"/>
        </y:PolyLineEdge>
      </data>
    </edge>
    <edge id="e0" source="n1::n0::n0" target="n0">
      <data key="d10"/>
      <data key="d11">
        <y:PolyLineEdge>
          <y:Path sx="15.0" sy="-0.0" tx="-15.0" ty="-0.0"/>
          <y:LineStyle color="#000000" type="line" width="1.0"/>
          <y:Arrows source="none" target="standard"/>
          <y:BendStyle smoothed="false"/>
        </y:PolyLineEdge>
      </data>
    </edge>
    <edge id="e1" source="n1::n1::n1" target="n2">
      <data key="d10"/>
      <data key="d11">
        <y:PolyLineEdge>
          <y:Path sx="15.0" sy="-0.0" tx="-15.0" ty="-0.0"/>
          <y:LineStyle color="#000000" type="line" width="1.0"/>
          <y:Arrows source="none" target="standard"/>
          <y:BendStyle smoothed="false"/>
        </y:PolyLineEdge>
      </data>
    </edge>
  </graph>
  <data key="d8">
    <y:Resources/>
  </data>
</graphml>
r   Tru   ÚCustomPropertyÚ N)rB   rC   rD   r<   rw   ry   Úlen)r~   rv   rb   r   Ú_ÚxÚ	node_datas   &      rc   Ú test_read_attributes_with_groupsÚ0TestReadGraphML.test_read_attributes_with_groups	  sˆ   € ðZˆôx �ZŠZ˜Ÿ™ GÓ,Ó-ˆÜ�OŠO˜BÓˆØŸg™g¨4˜gÔ0Ô1Ñ0‘d�a“Ñ0ˆÑ1Ü�4‹y˜AŒ~Ðˆ~ÛˆIØÐ-Õ.°"Ö4Ð4Ð4ó ùó 2s   ÁBc                ód  € R p\         P                  ! VP                  R4      4      p\        P                  ! V4      pRRR/3.p\        VP                  RR7      4      V8X  g   Q hVP                  ^ 4       \        P                  ! V4      p\        VP                  RR7      4      V8X  g   Q hR# )aÝ  <?xml version='1.0' encoding='utf-8'?>
<graphml xmlns="http://graphml.graphdrawing.org/xmlns"
         xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
         xsi:schemaLocation="http://graphml.graphdrawing.org/xmlns
         http://graphml.graphdrawing.org/xmlns/1.0/graphml.xsd">
  <key attr.name="cudfversion" attr.type="long" for="node" id="d6" />
  <graph edgedefault="directed">
    <node id="n1">
      <data key="d6">4284</data>
    </node>
  </graph>
</graphml>r   r   Úcudfversioni¼  Tru   N)	rB   rC   rD   r<   rw   rx   ry   r{   r|   r²   s   &     rc   Útest_long_attribute_typeÚ(TestReadGraphML.test_long_attribute_type-  s™   € ðˆô �ZŠZ˜Ÿ™ Ó)Ó*ˆÜ�OŠO˜BÓˆØ˜M¨4Ð0Ð1Ð2ˆÜ�a—g‘g 4�gÓ(Ó)¨XÔ5Ð5Ð5Ø
�‰�Œ
Ü×Ò˜QÓˆÜ�a—g‘g 4�gÓ(Ó)¨XÔ5Ð5Ò5rf   rg   N)rh   ri   rj   rk   r�   r…   rˆ   r‹   r�   r—   rš   r£   r§   rª   r­   r´   rÔ   rá   rå   rë   rô   rø   rm   rn   ro   s   @rc   rr   rr   9  sn   ø‡ € òIò	2ò	2ò	2ò	2òò"Bò
=ò$=ò$=ò8=ò<6ò.+òZ~-ò@)-òV1@òfb5÷H	6ð 6rf   rr   c                   óÆ   a € ] tR tRt o ]! ]P                  4      t]R 4       t	R t
R tR tR tR tR tR	 tR
 tR tR tR tR tR tR tR tR tR tR tR tRtV tR# )ÚTestWriteGraphMLiE  c                óZ   € \         P                  4        \        P                  ! R 4      pR# )ú
lxml.etreeN)r   rd   rž   Úimportorskip)ra   rñ   s   & rc   rd   ÚTestWriteGraphML.setup_classH  s   € ä×ÑÔ!Ü×Ò Ó-Šrf   c                óÈ   €  ^ RI p\        P                  \        P                  8X  g   Q hR#   \         d*    \        P                  \        P
                  8X  g   Q h R# i ; ir„   )Ú
lxml.etreer<   rÅ   Úwrite_graphml_lxmlÚImportErrorÚwrite_graphml_xml)r~   Úlxmls   & rc   Útest_write_interfaceÚ%TestWriteGraphML.test_write_interfaceM  sM   € ð	<Ûä×#Ñ#¤r×'<Ñ'<Ô<Ð<Ò<øÜô 	<Ü×#Ñ#¤r×';Ñ';Ô;Ð;Ó;ð	<ús   ‚)- ­0A!Á A!c                ó^  € V P                   pR VP                  R&   \        P                  ! 4       pV P	                  W4       VP                  ^ 4       \        P                  ! V4      p\        VP                  4       4      \        VP                  4       4      8X  g   Q h\        VP                  4       4      \        VP                  4       4      8X  g   Q h\        VP                  RR7      4      \        VP                  RR7      4      8X  g   Q hV P                  P                  ^ 4       R# )ÚthereÚhiTru   N©r>   rH   rB   rC   Úwriterr{   r<   rw   rx   ry   rz   rE   ©r~   r   rb   r   s   &   rc   Ú'test_write_read_simple_directed_graphmlÚ8TestWriteGraphML.test_write_read_simple_directed_graphmlU  sÔ   € Ø×&Ñ&ˆØˆ�‰�‰Ü�ZŠZ‹\ˆØ�‰�AÔØ
�‰�Œ
Ü�OŠO˜BÓˆÜ�a—g‘g“iÓ ¤F¨1¯7©7«9Ó$5Ô5Ð5Ð5Ü�a—g‘g“iÓ ¤F¨1¯7©7«9Ó$5Ô5Ð5Ð5Ü�a—g‘g 4�gÓ(Ó)¬V°A·G±GÀ°GÓ4FÓ-GÔGÐGÐGØ×Ñ×$Ñ$ QÖ'rf   c                óv   € \        4       pV P                  pVP                  4       pVP                  W#.4       R # ©N)r   r>   ÚcopyÚ
add_graphs)r~   Úgmlwr   r   s   &   rc   Útest_GraphMLWriter_add_graphsÚ.TestWriteGraphML.test_GraphMLWriter_add_graphsa  s-   € Ü‹ˆØ×&Ñ&ˆØ�F‰F‹HˆØ�‰˜˜Örf   c                ó€  € V P                   pR VP                  R&   RVP                  R&   \        P                  ! 4       pV P	                  WRR7       VP                  ^ 4       \        P                  ! V4      p\        VP                  4       4      \        VP                  4       4      8X  g   Q h\        VP                  4       4      \        VP                  4       4      8X  g   Q h\        VP                  RR7      4      \        VP                  RR7      4      8X  g   Q hV P                  P                  ^ 4       R# )	r	  r
  r0   r   F)ÚprettyprintTru   Nr  r  s   &   rc   Ú%test_write_read_simple_no_prettyprintÚ6TestWriteGraphML.test_write_read_simple_no_prettyprintg  så   € Ø×&Ñ&ˆØˆ�‰�‰Øˆ�‰�‰Ü�ZŠZ‹\ˆØ�‰�A uˆÔ-Ø
�‰�Œ
Ü�OŠO˜BÓˆÜ�a—g‘g“iÓ ¤F¨1¯7©7«9Ó$5Ô5Ð5Ð5Ü�a—g‘g“iÓ ¤F¨1¯7©7«9Ó$5Ô5Ð5Ð5Ü�a—g‘g 4�gÓ(Ó)¬V°A·G±GÀ°GÓ4FÓ-GÔGÐGÐGØ×Ñ×$Ñ$ QÖ'rf   c                ó  € ^ RI Hp V P                  p\        P                  ! 4       pV P                  W#RR7       VP                  ^ 4       \        P                  ! V4      pVP                  ^ 4       \        VP                  4       VP                  4       4      '       g   Q h\        VP                  4       VP                  4       RR7      '       g   Q h\        VP                  RR7      VP                  RR7      RR7      '       g   Q hV P                  P                  ^ 4       V! V4      p\        VP                  4       4      p\!        V4      ^8X  g   Q hVR,           Uu. uF  qwP#                  4       NK  	  pp\!        V4      ^8X  g   Q hRV^ ,          9   g   Q hRV^ ,          9   g   Q hRV^,          9   g   Q hRV^,          9   g   Q hRV^,          9   g   Q hRV^,          9   g   Q h\        P                  ! 4       p	\        P$                  ! W)4       V	P                  ^ 4       \        P                  ! V	4      p\        P                  ! 4       p
\        P$                  ! W*RR7       V
P                  ^ 4       \        P                  ! V
4      p\&        ;QJ d:    R \)        VP                  VP                  4       4       F  '       d   K   RM/	  RM+! R \)        VP                  VP                  4       4       4      '       g   Q h\&        ;QJ d:    R	 \)        VP                  VP                  4       4       F  '       d   K   RM/	  RM+! R	 \)        VP                  VP                  4       4       4      '       g   Q hR
# u upi )r   ©ÚparseT)Únamed_key_ids©Údirectedru   :Né   Nc              3   ó.   "  € T F  w  rW8H  x € K  	  R # 5ir  rg   )Ú.0r   r   s   &  rc   Ú	<genexpr>ÚSTestWriteGraphML.test_write_read_attribute_named_key_ids_graphml.<locals>.<genexpr>ž  ó   é € ÐBÑ,A¡ �2–8Ó,Aùó   ‚Fc              3   ó.   "  € T F  w  rW8H  x € K  	  R # 5ir  rg   )r#  r   r   s   &  rc   r$  r%  Ÿ  r&  r'  N)r   r3   )ú	attr.namer3   )r   r/   )r)  r/   )r   r.   )r)  r.   )Úxml.etree.ElementTreer  rN   rB   rC   r  r{   r<   rw   r   ry   r   rz   rO   rß   Úgetrootrð   rÈ   rÅ   Úallr’   )r~   r  r   rb   r   ÚxmlÚchildrenÚchildr±   Údefault_behavior_fhÚnamed_key_ids_behavior_fhÚJs   &           rc   Ú/test_write_read_attribute_named_key_ids_graphmlÚ@TestWriteGraphML.test_write_read_attribute_named_key_ids_graphmlt  s’  € Ý/à×.Ñ.ˆÜ�ZŠZ‹\ˆØ�‰�A¨ˆÔ.Ø
�‰�Œ
Ü�OŠO˜BÓˆØ
�‰�Œ
ä˜1Ÿ7™7›9 a§g¡g£i×0Ò0Ð0Ð0Ü˜1Ÿ7™7›9 a§g¡g£i¸$×?Ó?Ð?Ð?Ü˜1Ÿ7™7¨˜7Ó-¨q¯w©w¸D¨wÓ/AÈD×QÓQÐQÐQØ×'Ñ'×,Ñ,¨QÔ/á�B‹iˆä˜Ÿ™›Ó&ˆÜ�8‹} Ô!Ð!Ð!à+3°B®<Ó8©< %—‘–©<ˆÐ8ä�4‹y˜AŒ~Ðˆ~Ø" d¨1¥gÔ-Ð-Ð-Ø)¨T°!­WÔ4Ð4Ð4Ø $ q¥'Ô)Ð)Ð)Ø%¨¨a­Ô0Ð0Ð0Ø $ q¥'Ô)Ð)Ð)Ø%¨¨a­Ô0Ð0Ð0ô !Ÿjšj›lÐÜ
×Ò˜Ô0Ø× Ñ  Ô#Ü�OŠOÐ/Ó0ˆä$&§J¢J£LÐ!Ü
×Ò˜ÀTÕJØ!×&Ñ& qÔ)Ü�OŠOÐ5Ó6ˆç‹sÑB¬C°·±¸¿¹Ô,AÓB�s�sŠsÑB¬C°·±¸¿¹Ô,AÓB×BÒBÐBÐBß‹sÑB¬C°·±¸¿¹Ô,AÓB�s�sŠsÑB¬C°·±¸¿¹Ô,AÓB×BÒBÐBÒBùò/ 9s   Å$Nc                ón  € ^ RI Hp V P                  p\        P                  ! 4       pV P                  W#RR7       VP                  ^ 4       \        P                  ! V4      pVP                  ^ 4       \        VP                  4       VP                  4       4      '       g   Q h\        VP                  4       VP                  4       RR7      '       g   Q h\        VP                  RR7      VP                  RR7      RR7      '       g   Q hV P                  P                  ^ 4       V! V4      p\        VP                  4       4      p\!        V4      ^8X  g   Q hVR,           Uu. uF  qwP#                  4       NK  	  pp\!        V4      ^8X  g   Q hRV^ ,          9   g   Q hRV^,          9   g   Q hR# u upi )	r   r  T©Úinfer_numeric_typesr  ru   :NrÄ   NN)z	attr.typeÚdouble)r*  r  rQ   rB   rC   r  r{   r<   rw   r   ry   r   rz   rR   rß   r+  rð   rÈ   )	r~   r  r   rb   r   r-  r.  r/  r±   s	   &        rc   Ú.test_write_read_attribute_numeric_type_graphmlÚ?TestWriteGraphML.test_write_read_attribute_numeric_type_graphml¡  sN  € Ý/à×-Ñ-ˆÜ�ZŠZ‹\ˆØ�‰�A¨tˆÔ4Ø
�‰�Œ
Ü�OŠO˜BÓˆØ
�‰�Œ
ä˜1Ÿ7™7›9 a§g¡g£i×0Ò0Ð0Ð0Ü˜1Ÿ7™7›9 a§g¡g£i¸$×?Ó?Ð?Ð?Ü˜1Ÿ7™7¨˜7Ó-¨q¯w©w¸D¨wÓ/AÈD×QÓQÐQÐQØ×&Ñ&×+Ñ+¨AÔ.á�B‹iˆä˜Ÿ™›Ó&ˆÜ�8‹} Ô!Ð!Ð!à+3°B®<Ó8©< %—‘–©<ˆÐ8ä�4‹y˜AŒ~Ðˆ~Ø&¨$¨q­'Ô1Ð1Ð1Ø&¨$¨q­'Ô1Ð1Ò1ùò	 9s   Å$F2c                óˆ  € \         P                  ! 4       pVP                  RR.4       VR,          pV P                  W#4       \         P                  ! V4      pVP                  4       '       g   Q h\        VP                  RR7      VP                  RR7      4      '       g   Q hVP                  VP                  8X  g   Q hR# )zÀWriting keys as edge id attributes means keys become strings.
The original keys are stored as data, so read them back in
if `str(key) == edge_id`
This allows the adjacency to remain the same.
útest.graphmlTr°   N©r•   r–   rÄ   )r•   r–   r!  )	r<   rX   rA   r  rw   Úis_multigraphr   rz   rÇ   ©r~   Útmp_pathr   Úfnamer   s   &&   rc   Útest_more_multigraph_keysÚ*TestWriteGraphML.test_more_multigraph_keys»  s˜   € ô �MŠM‹OˆØ	×Ñ˜-¨Ð7Ô8Ø˜>Õ)ˆØ�‰�AÔÜ�OŠO˜EÓ"ˆØ�‰× Ò Ð Ð Ü˜1Ÿ7™7¨˜7Ó-¨q¯w©w¸D¨wÓ/A×BÒBÐBÐBØ�v‰v˜Ÿ™ÔÐÒrf   c                óš  € \         P                  ! R R7      pVP                  ^^RR7       \         P                  ! V. RO4       VP	                  ^^^R7       RR/VP
                  R&   R^/VP
                  R	&   \        P                  ! 4       pV P                  W4       VP                  ^ 4       \         P                  ! V\        R
7      p\        VP                  4       VP                  4       4      '       g   Q h\        VP                  4       VP                  4       4      '       g   Q hVP
                  VP
                  8X  g   Q hR# )ÚFred)Únamer   )rÙ   r   r4   r   r   r   r   Úedge_defaultrÀ   N)r   rÃ   rÄ   r!  )r<   rT   r?   Úadd_pathr@   rH   rB   rC   r  r{   rw   rÆ   r   ry   r   rz   r  s   &   rc   Útest_default_attributeÚ'TestWriteGraphML.test_default_attributeÊ  sí   € Ü�HŠH˜&Ô!ˆØ	�
‰
�1˜A Wˆ
Ô-Ü
�Š�A’|Ô$Ø	�
‰
�1�a ˆ
Ô"Ø#*¨HÐ"5ˆ�‰�ÑØ#+¨Q -ˆ�‰�ÑÜ�ZŠZ‹\ˆØ�‰�AÔØ
�‰�Œ
Ü�OŠO˜B¬#Ô.ˆÜ˜1Ÿ7™7›9 a§g¡g£i×0Ò0Ð0Ð0Ü˜1Ÿ7™7›9 a§g¡g£i×0Ò0Ð0Ð0Ø�w‰w˜!Ÿ'™'Ô!Ð!Ò!rf   c                ór  € \         P                  ! 4       pVP                  R RR7       VP                  R^ R7       VP                  R RRR7       VP                  R R^ R7       \        P
                  ! 4       pV P                  W4       VP                  ^ 4       \         P                  ! V4      pVP                  R ,          R,          '       d   Q hVP                  R,          R,          ^ 8X  g   Q hVP                  R,          R,          '       d   Q hVP                  R,          R,          ^ 8X  g   Q hR# )r
   F©Úspecialr   rM  N©r
   r   r   ©r
   r   rÃ   ©r<   rX   r?   r@   rB   rC   r  r{   rw   ry   rz   r  s   &   rc   Útest_mixed_type_attributesÚ+TestWriteGraphML.test_mixed_type_attributesÙ  së   € Ü�MŠM‹OˆØ	�
‰
�4 ˆ
Ô'Ø	�
‰
�4 ˆ
Ô#Ø	�
‰
�4˜ uˆ
Ô-Ø	�
‰
�4˜ qˆ
Ô)Ü�ZŠZ‹\ˆØ�‰�AÔØ
�‰�Œ
Ü�OŠO˜BÓˆØ—7‘7˜4•= ×+Ô+Ð+Ð+Ø�w‰w�t�}˜YÕ'¨1Ô,Ð,Ð,Ø—7‘7˜=Õ)¨)×4Ô4Ð4Ð4Ø�w‰w�}Õ% iÕ0°AÔ5Ð5Ò5rf   c                ón  € \         P                  ! 4       pVP                  R RR7       VP                  R^ R7       VP                  R RRR7       VP                  R R^ R7       \        P
                  ! 4       pV P                  W4       VP                  ^ 4       \         P                  ! V4      pVP                  R ,          R,          R8X  g   Q hVP                  R,          R,          ^ 8X  g   Q hVP                  R,          R,          R8X  g   Q hVP                  R,          R,          ^ 8X  g   Q hR# )r
   ÚhellorL  r   rM  NrN  rO  rP  r  s   &   rc   Ú%test_str_number_mixed_type_attributesÚ6TestWriteGraphML.test_str_number_mixed_type_attributesè  sï   € Ü�MŠM‹OˆØ	�
‰
�4 ˆ
Ô)Ø	�
‰
�4 ˆ
Ô#Ø	�
‰
�4˜ wˆ
Ô/Ø	�
‰
�4˜ qˆ
Ô)Ü�ZŠZ‹\ˆØ�‰�AÔØ
�‰�Œ
Ü�OŠO˜BÓˆØ�w‰w�t�}˜YÕ'¨7Ô2Ð2Ð2Ø�w‰w�t�}˜YÕ'¨1Ô,Ð,Ð,Ø�w‰w�}Õ% iÕ0°GÔ;Ð;Ð;Ø�w‰w�}Õ% iÕ0°AÔ5Ð5Ò5rf   c                óÖ  € \         P                  ! R 4      p\        P                  ! 4       pVP	                  RVP                  ^ 4      R7       VP	                  R^R7       VP                  RRVP                  ^4      R7       VP                  RR^R7       \        P                  ! 4       pV P                  W#4       VP                  ^ 4       \        P                  ! V4      pVP                  R,          R,          ^ 8X  g   Q hVP                  R,          R,          ^8X  g   Q hVP                  R,          R,          ^8X  g   Q hVP                  R,          R,          ^8X  g   Q hR# )Únumpyr
   rL  r   rM  NrN  rO  )rž   rþ   r<   rX   r?   Úint64r@   rB   rC   r  r{   rw   ry   rz   )r~   Únpr   rb   r   s   &    rc   Ú%test_mixed_int_type_number_attributesÚ6TestWriteGraphML.test_mixed_int_type_number_attributes÷  s  € Ü× Ò  Ó)ˆÜ�MŠM‹OˆØ	�
‰
�4 §¡¨!£ˆ
Ô-Ø	�
‰
�4 ˆ
Ô#Ø	�
‰
�4˜ r§x¡x°£{ˆ
Ô3Ø	�
‰
�4˜ qˆ
Ô)Ü�ZŠZ‹\ˆØ�‰�AÔØ
�‰�Œ
Ü�OŠO˜BÓˆØ�w‰w�t�}˜YÕ'¨1Ô,Ð,Ð,Ø�w‰w�t�}˜YÕ'¨1Ô,Ð,Ð,Ø�w‰w�}Õ% iÕ0°AÔ5Ð5Ð5Ø�w‰w�}Õ% iÕ0°AÔ5Ð5Ò5rf   c                ó\  € \         P                  ! 4       pVP                  RR.4       VR,          pV P                  W#4       \         P                  ! V4      pVP                  4       '       d   Q h\         P                  ! VRR7      pVP                  4       '       g   Q hVP                  R RR4       VR,          pV P                  W#4       \         P                  ! V4      pVP                  4       '       g   Q h\         P                  ! VRR7      pVP                  4       '       g   Q hR# )	r•   r–   r<  Tr×   ze-idNr=  )r–   Úcr!  )r<   rX   rA   r  rw   r>  r@   r?  s   &&   rc   Útest_multigraph_to_graphÚ)TestWriteGraphML.test_multigraph_to_graph  sæ   € ä�MŠM‹OˆØ	×Ñ˜-¨Ð7Ô8Ø˜>Õ)ˆØ�‰�AÔÜ�OŠO˜EÓ"ˆØ—?‘?×$Ò$Ð$Ð$Ü�OŠO˜E°DÔ9ˆØ�‰× Ò Ð Ð ð 	
�
‰
�3˜˜VÔ$Ø˜>Õ)ˆØ�‰�AÔÜ�OŠO˜EÓ"ˆØ�‰× Ò Ð Ð Ü�OŠO˜E°DÔ9ˆØ�‰× Ò Ð Ò rf   c                óÌ  € ^ RI Hp \        P                  ! 4       pVP	                  . RO4       VP
                   Uu/ uF  qD\        V4      bK  	  pp\        P                  ! W5R4       VR,          pV P                  W6RR7       \        P                  ! VRR7      p\        P                  ! V4      p\        VP                  4       VP                  4       4      '       g   Q h\        VP                  4       VP                  4       4      '       g   Q h\        P                  ! W5R4       \        VP                  RR7      VP                  RR7      4      '       g   Q hV! V4      p	\        V	P                  4       4      p
\!        V
4      ^8X  g   Q hV	P                  4       P#                  R4       Uu. uF  pVP$                  R,          NK  	  pp\'        V4      \'        VP)                  4       4      8X  g   Q hR	P+                  V4      p\        P,                  ! V4      p\'        VP                  4       4      \'        VP                  4       4      8X  g   Q h\'        VP                  4       4      \'        VP                  4       4      8X  g   Q h\        P                  ! W5R4       \        VP                  RR7      VP                  RR7      4      '       g   Q hR
# u upi u upi )r   r  Úeidr<  ©Úedge_id_from_attributer   Tru   ú..//{http://graphml.graphdrawing.org/xmlns}edgerï   N)©r•   r–   ©r–   r^  ©r•   r^  )r*  r  r<   rT   rA   rz   rÉ   Úset_edge_attributesr  Úgenerate_graphmlrw   r   ry   r   rß   r+  rð   ÚfindallÚattribrx   ÚvaluesÚjoinr|   )r~   r@  r  r   ÚeÚedge_attributesrA  Ú	generatorr   Útreer.  ÚedgeÚedge_idsrv   r2  s   &&             rc   Ú*test_write_generate_edge_id_from_attributeÚ;TestWriteGraphML.test_write_generate_edge_id_from_attribute  s>  € Ý/ä�HŠH‹JˆØ	×ÑÒ=Ô>Ø./¯gªgÓ6©g¨œc !›fš9©gˆÐ6Ü
×Ò˜q°5Ô9Ø˜>Õ)ˆà�‰�A°UˆÔ;ä×'Ò'¨À%ÔHˆ	ä�OŠO˜EÓ"ˆÜ˜1Ÿ7™7›9 a§g¡g£i×0Ò0Ð0Ð0Ü˜1Ÿ7™7›9 a§g¡g£i×0Ò0Ð0Ð0ä
×Ò˜q°4Ô8Ü˜1Ÿ7™7¨˜7Ó-¨q¯w©w¸D¨wÓ/A×BÒBÐBÐBá�U‹|ˆÜ˜Ÿ™›Ó'ˆÜ�8‹} Ô!Ð!Ð!ð Ÿ™›×.Ñ.Ø@ôó
ñ�ð �K‰K˜×Ðñð 	ð 
ô �hÓ¤6¨/×*@Ñ*@Ó*BÓ#CÔCÐCÐCð �w‰w�yÓ!ˆÜ×Ò˜TÓ"ˆÜ�a—g‘g“iÓ ¤F¨1¯7©7«9Ó$5Ô5Ð5Ð5Ü�a—g‘g“iÓ ¤F¨1¯7©7«9Ó$5Ô5Ð5Ð5ä
×Ò˜q°4Ô8Ü˜1Ÿ7™7¨˜7Ó-¨q¯w©w¸D¨wÓ/A×BÒBÐBÒBùòE 7ùò$
s   ½KÆ3K!c                óD  € ^ RI Hp \        P                  ! 4       pVP	                  . RO4       VP
                   Uu/ uF  qD\        V4      bK  	  pp\        P                  ! W5R4       VR,          pV P                  W6RR7       \        P                  ! VRR7      p\        P                  ! V4      pVP                  4       '       g   Q h\        P                  ! VRR7      pVP                  4       '       g   Q h\        VP                  4       VP                  4       4      '       g   Q h\        VP                  4       VP                  4       4      '       g   Q h\        R VP                  RR7       4       4      \        VP!                  4       4      8X  g   Q h\        R	 VP                  RR
7       4       4      \        VP!                  4       4      8X  g   Q hV! V4      p	\#        V	P%                  4       4      p
\'        V
4      ^8X  g   Q hV	P%                  4       P)                  R4       Uu. uF  pVP*                  R,          NK  	  pp\        V4      \        VP!                  4       4      8X  g   Q hRP-                  V4      p\        P.                  ! V4      pVP                  4       '       g   Q h\        VP                  4       VP                  4       4      '       g   Q h\        VP                  4       VP                  4       4      '       g   Q h\        R VP                  RR7       4       4      \        VP!                  4       4      8X  g   Q h\        R VP                  RR
7       4       4      \        VP!                  4       4      8X  g   Q hR# u upi u upi )r   r  rb  r<  rc  Tr×   c              3   óH   "  € T F  w  rq3P                  R 4      x € K  	  R# 5i©rb  N©Úget©r#  ÚuÚvrv   s   &   rc   r$  ÚYTestWriteGraphML.test_multigraph_write_generate_edge_id_from_attribute.<locals>.<genexpr>X  ó   é € ÐKÑ8J©*¨!°—h‘h˜u—o�oÓ8Jùó   ‚ "ru   c              3   ó*   "  € T F	  w  rq3x € K  	  R # 5ir  rg   ©r#  r}  r~  r·   s   &   rc   r$  r  \  ó   é € Ð>Ñ+=™i˜a C”cÓ+=ùó   ‚r°   re  r   rï   c              3   óH   "  € T F  w  rq3P                  R 4      x € K  	  R# 5iry  rz  r|  s   &   rc   r$  r  s  r€  r�  c              3   ó*   "  € T F	  w  rq3x € K  	  R # 5ir  rg   rƒ  s   &   rc   r$  r  w  r„  r…  N)rf  rg  rh  rf  )r*  r  r<   rX   rA   rz   rÉ   ri  r  rj  rw   r>  r   ry   r   rx   rm  rß   r+  rð   rk  rl  rn  r|   )r~   r@  r  r   ro  rp  rA  rq  r   rr  r.  rs  rt  Úgraphml_datar2  s   &&             rc   Ú5test_multigraph_write_generate_edge_id_from_attributeÚFTestWriteGraphML.test_multigraph_write_generate_edge_id_from_attributeD  s  € Ý/ä�MŠM‹OˆØ	×ÑÒIÔJØ./¯gªgÓ6©g¨œc !›fš9©gˆÐ6Ü
×Ò˜q°5Ô9Ø˜>Õ)ˆà�‰�A°UˆÔ;ä×'Ò'¨À%ÔHˆ	ä�OŠO˜EÓ"ˆØ�‰× Ò Ð Ð Ü�OŠO˜E°DÔ9ˆØ�‰× Ò Ð Ð ä˜1Ÿ7™7›9 a§g¡g£i×0Ò0Ð0Ð0Ü˜1Ÿ7™7›9 a§g¡g£i×0Ò0Ð0Ð0ÜÑK¸¿¹ÀT¸Ô8JÓKÓKÌvØ×"Ñ"Ó$óP
ô 
ð 	
ð 
ô Ñ>¨1¯7©7¸¨7Ô+=Ó>Ó>Ä&Ø×"Ñ"Ó$óC
ô 
ð 	
ð 
ñ �U‹|ˆÜ˜Ÿ™›Ó'ˆÜ�8‹} Ô!Ð!Ð!ð Ÿ™›×.Ñ.Ø@ôó
ñ�ð �K‰K˜×Ðñð 	ð 
ô �hÓ¤6¨/×*@Ñ*@Ó*BÓ#CÔCÐCÐCð —w‘w˜yÓ)ˆÜ×Ò˜\Ó*ˆØ�‰× Ò Ð Ð ä˜1Ÿ7™7›9 a§g¡g£i×0Ò0Ð0Ð0Ü˜1Ÿ7™7›9 a§g¡g£i×0Ò0Ð0Ð0ÜÑK¸¿¹ÀT¸Ô8JÓKÓKÌvØ×"Ñ"Ó$óP
ô 
ð 	
ð 
ô Ñ>¨1¯7©7¸¨7Ô+=Ó>Ó>Ä&Ø×"Ñ"Ó$óC
ô 
ð 	
ò 
ùò] 7ùò4
s   ½NÈ0Nc                ó,  € \         P                  ! R 4      pVP                  R4      p\        P                  ! ^^RV/3.4      pVR,          pV P                  WE4       \        P                  ! V\        R7      pVP                  VP                  8X  g   Q hV^,          ^,          R,          pV^,          ^,          R,          pV\         P                  ! VRR7      8X  g   Q h\        V4      VP                  J g   Q h\        V4      \        J g   Q hR# ©rX  g333333@r   r<  rÀ   g�íµ ÷Æ°>)ÚabsN)rž   rþ   Úfloat64r<   rT   r  rw   rÆ   rz   ÚapproxÚtypeÚfloat©	r~   r@  rZ  Úwtr   rA  r   ÚwtGÚwtHs	   &&       rc   Útest_numpy_float64Ú#TestWriteGraphML.test_numpy_float64{  óÜ   € Ü× Ò  Ó)ˆØ�Z‰Z˜‹_ˆÜ�HŠH�q˜!˜h¨˜^Ð,Ð-Ó.ˆØ˜>Õ)ˆØ�‰�AÔÜ�OŠO˜E¬SÔ1ˆØ�w‰w˜!Ÿ'™'Ô!Ð!Ð!Ø��d�1�g�hÕˆØ��d�1�g�hÕˆØ”f—m’m C¨TÔ2Ô2Ð2Ð2Ü�C‹y˜BŸJ™JÓ&Ð&Ð&Ü�C‹yœEÓ!Ð!Ò!rf   c                ó,  € \         P                  ! R 4      pVP                  R4      p\        P                  ! ^^RV/3.4      pVR,          pV P                  WE4       \        P                  ! V\        R7      pVP                  VP                  8X  g   Q hV^,          ^,          R,          pV^,          ^,          R,          pV\         P                  ! VRR7      8X  g   Q h\        V4      VP                  J g   Q h\        V4      \        J g   Q hR# rŒ  )rž   rþ   Úfloat32r<   rT   r  rw   rÆ   rz   r�  r�  r‘  r’  s	   &&       rc   Útest_numpy_float32Ú#TestWriteGraphML.test_numpy_float32‰  r˜  rf   c                ó2  € \         P                  ! R 4      pV P                  pVP                  R4      VP                  R,          R&   VR,          pV P                  W4RR7       \        P                  ! V4      pVP                  VP                  8X  g   Q hR# )rX  r#   r   r<  Tr6  N)r   r   )	rž   rþ   rQ   rŽ  rz   r  r<   rw   rÇ   )r~   r@  rZ  r   rA  r   s   &&    rc   Útest_numpy_float64_inferenceÚ-TestWriteGraphML.test_numpy_float64_inference—  sv   € Ü× Ò  Ó)ˆØ×-Ñ-ˆØ*,¯*©*°S«/ˆ�‰�Õ˜hÑ'Ø˜>Õ)ˆØ�‰�A°$ˆÔ7Ü�OŠO˜EÓ"ˆØ�v‰v˜Ÿ™ÔÐÒrf   c                ó¬  € \         P                  ! 4       p\        R 4      \        ^{4      ,           \        R4      ,           p\        R4      \        R4      ,           \        R4      ,           p\        pVP	                  VRVR7       VR,          pV P                  W&4       \         P                  ! WeR7      pVP                  VP                  8X  g   Q hR	# )
i(	  i�  i§  i  iD  Ú	Radiohead)r   r<  rÀ   N)r<   rT   ÚchrrÉ   r@   r  rw   rÇ   )r~   r@  r   Úname1Úname2rÁ   rA  r   s   &&      rc   Útest_unicode_attributesÚ(TestWriteGraphML.test_unicode_attributes   s”   € Ü�HŠH‹JˆÜ�D“	œC ›HÕ$¤s¨4£yÕ0ˆÜ�D“	œC ›IÕ%¬¨C«Õ0ˆÜˆ	Ø	�
‰
�5˜+¨5ˆ
Ô1Ø˜>Õ)ˆØ�‰�AÔÜ�OŠO˜EÔ7ˆØ�v‰v˜Ÿ™ÔÐÒrf   c                ón  € ^ RI pRR/pVP                  V4      p\        P                  ! 4       pW4P                  R&   \
        P                  ! 4       pV P                  WE4       VP                  ^ 4       \        P                  ! V4      pVP                  R,          VP                  R,          8X  g   Q hR# )r   Nr•   z{"a": "123"}rä   )
ÚjsonÚdumpsr<   rT   rH   rB   rC   r  r{   rw   )r~   r¨  r•   Úsar   rb   r   s   &      rc   Útest_unicode_escapeÚ$TestWriteGraphML.test_unicode_escape«  s€   € ãà�.Ð!ˆØ�Z‰Z˜‹]ˆÜ�HŠH‹JˆØ�‰�‰Ü�ZŠZ‹\ˆØ�‰�AÔØ
�‰�Œ
Ü�OŠO˜BÓˆØ�w‰w�v� !§'¡'¨&¥/Ô1Ð1Ò1rf   rg   N)rh   ri   rj   rk   Ústaticmethodr<   r  r  rl   rd   r  r  r  r  r3  r9  rB  rI  rQ  rU  r[  r_  ru  r‰  r–  r›  rž  r¥  r«  rm   rn   ro   s   @rc   rû   rû   E  s�   ø‡ € Ù˜"×/Ñ/Ó0€Fàñ.ó ð.ò<ò
(ò ò(ò+CòZ2ò4 ò"ò6ò6ò6ò !ò('CòR5
òn"ò"ò ò	 ÷2ð 2rf   rû   c                   óT   a € ] tR tRt o ]! ]P                  4      t]R 4       t	Rt
V tR# )ÚTestXMLGraphMLiº  c                ó.   € \         P                  4        R # r  )rû   rd   )ra   s   &rc   rd   ÚTestXMLGraphML.setup_class½  s   € ä×$Ñ$Ö&rf   rg   N)rh   ri   rj   rk   r­  r<   r  r  rl   rd   rm   rn   ro   s   @rc   r¯  r¯  º  s'   ø‡ € Ù˜"×.Ñ.Ó/€Fàñ'ó ö'rf   r¯  c                 ó^  € \         P                  ! R4       \        P                  ! 4       p V P	                  ^ . ROR7       \
        P                  ! 4       p\         P                  ! \        RR7      ;_uu_ 4        \        P                  ! W4       RRR4       R#   + '       g   i     R# ; i©úmTest that a detailed exception is raised when an attribute is of a type
not supported by GraphML, e.g. a listrý   )Úmy_list_attributeúGraphML does not support©ÚmatchN©r   rÃ   rÄ   )
rž   rþ   r<   rT   r?   rB   rC   rŸ   Ú	TypeErrorrÅ   ©r   rb   s     rc   Ú1test_exception_for_unsupported_datatype_node_attrr¼  Â  sh   € ô ×Ò˜Ô%ä
�Š‹
€AØ‡J�Jˆq¢I€JÔ.Ü	�Š‹€BÜ	�Š”yÐ(B×	CÖ	CÜ
×Ò˜Ô÷ 
D×	C×	CÒ	Cús   Á:BÂB,	c                 ó`  € \         P                  ! R4       \        P                  ! 4       p V P	                  ^ ^. ROR7       \
        P                  ! 4       p\         P                  ! \        RR7      ;_uu_ 4        \        P                  ! W4       RRR4       R#   + '       g   i     R# ; ir³  )
rž   rþ   r<   rT   r@   rB   rC   rŸ   rº  rÅ   r»  s     rc   Ú1test_exception_for_unsupported_datatype_edge_attrr¾  Î  sj   € ô ×Ò˜Ô%ä
�Š‹
€AØ‡J�Jˆq�!¢y€JÔ1Ü	�Š‹€BÜ	�Š”yÐ(B×	CÖ	CÜ
×Ò˜Ô÷ 
D×	C×	CÒ	Cús   Á;BÂB-	c                 óV  € \         P                  ! R4       \        P                  ! 4       p . ROV P                  R&   \
        P                  ! 4       p\         P                  ! \        RR7      ;_uu_ 4        \        P                  ! W4       RRR4       R#   + '       g   i     R# ; i)r´  rý   rµ  r¶  r·  Nr¹  )
rž   rþ   r<   rT   rH   rB   rC   rŸ   rº  rÅ   r»  s     rc   Ú2test_exception_for_unsupported_datatype_graph_attrrÀ  Ú  sg   € ô ×Ò˜Ô%ä
�Š‹
€AÚ#,€A‡G�GÐÑ Ü	�Š‹€BÜ	�Š”yÐ(B×	CÖ	CÜ
×Ò˜Ô÷ 
D×	C×	CÒ	Cús   Á6BÂB(	c                 óø   € Rp \         P                  ! V P                  R4      4      p\        P                  ! V4      pVP
                  R,          RRRR/8X  g   Q hVP
                  R,          RR	RR
/8X  g   Q hR# )zLTests that a GraphML string with an empty attribute can be parsed
correctly.a¿  <?xml version='1.0' encoding='utf-8'?>
    <graphml>
      <key id="d1" for="node" attr.name="foo" attr.type="string"/>
      <key id="d2" for="node" attr.name="bar" attr.type="string"/>
      <graph>
        <node id="0">
          <data key="d1">aaa</data>
          <data key="d2">bbb</data>
        </node>
        <node id="1">
          <data key="d1">ccc</data>
          <data key="d2"></data>
        </node>
      </graph>
    </graphml>r   r+   r   ÚaaaÚbarÚbbbr0   Úcccrï   N)rB   rC   rD   r<   rw   ry   )r¢   rb   r   s      rc   Útest_empty_attributerÆ  æ  sn   € ð	€Aô 
�Š�A—H‘H˜WÓ%Ó	&€BÜ
�Š˜Ó€AØ�7‰7�3�<˜E 5¨%°Ð7Ô7Ð7Ð7Ø�7‰7�3�<˜E 5¨%°Ð4Ô4Ð4Ò4rf   )rB   rž   Únetworkxr<   Únetworkx.readwrite.graphmlr   Únetworkx.utilsr   r   r   rr   rû   r¯  r¼  r¾  rÀ  rÆ  rg   rf   rc   Ú<module>rÊ     s`   ðÛ 	ã ã Ý 4ß 3÷l7ñ l7ô^	I6�kô I6ôXr2�{ô r2ôj'Ð%ô 'ò	 ò	 ò	 ô5rf   