Module Import alias Import alias ImportFrom alias ImportFrom alias Import alias identifier ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body TryExcept body Import alias handlers ExceptHandler type NameLoad body Raise Call NameLoad Str decorator_list NameLoad FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Assign SubscriptStore AttributeLoad AttributeLoad NameLoad attr attr Index Str Dict Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str keyword Str keyword Num keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str keyword Str keyword Num keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str keyword Str keyword Num keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str keyword Str keyword Num keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str Assign AttributeStore NameLoad attr Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str keyword Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str Str keyword Str Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Call NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Call NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad GeneratorExp Call NameLoad NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Call NameLoad GeneratorExp Call NameLoad NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr NameLoad Call NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr keyword NameLoad Assign NameStore Call NameLoad Call AttributeLoad NameLoad attr keyword NameLoad For TupleStore NameStore NameStore Call NameLoad NameLoad NameLoad body Expr Call NameLoad NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Str Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr ListLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num keyword Str keyword Str Expr Call AttributeLoad NameLoad attr NameLoad ListLoad Num Num Num Num Expr Call AttributeLoad NameLoad attr Num Num keyword Num Assign SubscriptStore AttributeLoad NameLoad attr Index Str Dict Str Str Assign SubscriptStore AttributeLoad NameLoad attr Index Str Dict Str Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call NameLoad Call NameLoad Call AttributeLoad NameLoad attr Call NameLoad Call AttributeLoad NameLoad attr Expr Call NameLoad Call NameLoad GeneratorExp Call NameLoad NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Call NameLoad GeneratorExp Call NameLoad NameLoad comprehension NameStore Call AttributeLoad NameLoad attr Delete SubscriptDel AttributeLoad NameLoad attr Index Str Expr Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num keyword Num keyword Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call NameLoad Call NameLoad NameLoad ListLoad Num Expr Call NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Str Str decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Num For NameStore Call NameLoad Num body Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Str NameLoad Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Str NameLoad Assign SubscriptStore SubscriptLoad AttributeLoad NameLoad attr Index NameLoad Index Str NameLoad Assign NameStore Call AttributeLoad Str attr AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad Str attr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr NameLoad keyword NameLoad Expr Call NameLoad SubscriptLoad SubscriptLoad AttributeLoad NameLoad attr Index Num Index Str NameLoad decorator_list decorator_list
N/A N/A io N/A time nose SkipTest nose.tools * N/A networkx nx TestGEXF N/A object N/A setupClass N/A N/A cls N/A N/A N/A N/A N/A xml.etree.ElementTree N/A N/A N/A ImportError N/A N/A N/A SkipTest xml.etree.ElementTree not available. N/A classmethod setUp N/A N/A self N/A N/A N/A N/A self simple_directed_data <?xml version="1.0" encoding="UTF-8"?>
<gexf xmlns="http://www.gexf.net/1.1draft" version="1.1">
    <graph mode="static" defaultedgetype="directed">
        <nodes>
            <node id="0" label="Hello" />
            <node id="1" label="Word" />
        </nodes>
        <edges>
            <edge id="0" source="0" target="1" />
        </edges>
    </graph>
</gexf>
 N/A N/A self simple_directed_graph N/A N/A nx DiGraph N/A N/A N/A N/A self simple_directed_graph add_node 0 label Hello N/A N/A N/A N/A self simple_directed_graph add_node 1 label World N/A N/A N/A N/A self simple_directed_graph add_edge 0 1 id 0 N/A N/A self simple_directed_fh N/A N/A io BytesIO N/A N/A N/A self simple_directed_data encode UTF-8 N/A N/A self attribute_data <?xml version="1.0" encoding="UTF-8"?>
<gexf xmlns="http://www.gexf.net/1.1draft" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.gexf.net/1.1draft http://www.gexf.net/1.1draft/gexf.xsd" version="1.1">
  <meta lastmodifieddate="2009-03-20">
    <creator>Gephi.org</creator>
    <description>A Web network</description>
  </meta>
  <graph defaultedgetype="directed">
    <attributes class="node">
      <attribute id="0" title="url" type="string"/>
      <attribute id="1" title="indegree" type="integer"/>
      <attribute id="2" title="frog" type="boolean">
        <default>true</default>
      </attribute>
    </attributes>
    <nodes>
      <node id="0" label="Gephi">
        <attvalues>
          <attvalue for="0" value="http://gephi.org"/>
          <attvalue for="1" value="1"/>
          <attvalue for="2" value="false"/>
        </attvalues>
      </node>
      <node id="1" label="Webatlas">
        <attvalues>
          <attvalue for="0" value="http://webatlas.fr"/>
          <attvalue for="1" value="2"/>
          <attvalue for="2" value="false"/>
        </attvalues>
      </node>
      <node id="2" label="RTGI">
        <attvalues>
          <attvalue for="0" value="http://rtgi.fr"/>
          <attvalue for="1" value="1"/>
          <attvalue for="2" value="true"/>
        </attvalues>
      </node>
      <node id="3" label="BarabasiLab">
        <attvalues>
          <attvalue for="0" value="http://barabasilab.com"/>
          <attvalue for="1" value="1"/>
          <attvalue for="2" value="true"/>
        </attvalues>
      </node>
    </nodes>
    <edges>
      <edge id="0" source="0" target="1"/>
      <edge id="1" source="0" target="2"/>
      <edge id="2" source="1" target="0"/>
      <edge id="3" source="2" target="1"/>
      <edge id="4" source="0" target="3"/>
    </edges>
  </graph>
</gexf>
 N/A N/A self attribute_graph N/A N/A nx DiGraph N/A N/A N/A N/A self attribute_graph graph N/A node_default N/A frog True N/A N/A N/A N/A self attribute_graph add_node 0 label Gephi url http://gephi.org indegree 1 frog False N/A N/A N/A N/A self attribute_graph add_node 1 label Webatlas url http://webatlas.fr indegree 2 frog False N/A N/A N/A N/A self attribute_graph add_node 2 label RTGI url http://rtgi.fr indegree 1 frog True N/A N/A N/A N/A self attribute_graph add_node 3 label BarabasiLab url http://barabasilab.com indegree 1 frog True N/A N/A N/A N/A self attribute_graph add_edge 0 1 id 0 N/A N/A N/A N/A self attribute_graph add_edge 0 2 id 1 N/A N/A N/A N/A self attribute_graph add_edge 1 0 id 2 N/A N/A N/A N/A self attribute_graph add_edge 2 1 id 3 N/A N/A N/A N/A self attribute_graph add_edge 0 3 id 4 N/A N/A self attribute_fh N/A N/A io BytesIO N/A N/A N/A self attribute_data encode UTF-8 N/A N/A self simple_undirected_data <?xml version="1.0" encoding="UTF-8"?>
<gexf xmlns="http://www.gexf.net/1.1draft" version="1.1">
    <graph mode="static" defaultedgetype="undirected">
        <nodes>
            <node id="0" label="Hello" />
            <node id="1" label="Word" />
        </nodes>
        <edges>
            <edge id="0" source="0" target="1" />
        </edges>
    </graph>
</gexf>
 N/A N/A self simple_undirected_graph N/A N/A nx Graph N/A N/A N/A N/A self simple_undirected_graph add_node 0 label Hello N/A N/A N/A N/A self simple_undirected_graph add_node 1 label World N/A N/A N/A N/A self simple_undirected_graph add_edge 0 1 id 0 N/A N/A self simple_undirected_fh N/A N/A io BytesIO N/A N/A N/A self simple_undirected_data encode UTF-8 N/A test_read_simple_directed_graphml N/A N/A self N/A N/A N/A G N/A self simple_directed_graph N/A H N/A N/A nx read_gexf N/A self simple_directed_fh N/A N/A assert_equal N/A sorted N/A N/A G nodes N/A sorted N/A N/A H nodes N/A N/A assert_equal N/A sorted N/A N/A G edges N/A sorted N/A N/A H edges N/A N/A assert_equal N/A sorted N/A N/A G edges data True N/A sorted N/A N/A H edges data True N/A N/A N/A N/A self simple_directed_fh seek 0 N/A test_write_read_simple_directed_graphml N/A N/A self N/A N/A N/A G N/A self simple_directed_graph N/A fh N/A N/A io BytesIO N/A N/A N/A nx write_gexf G fh N/A N/A N/A fh seek 0 N/A H N/A N/A nx read_gexf fh N/A N/A assert_equal N/A sorted N/A N/A G nodes N/A sorted N/A N/A H nodes N/A N/A assert_equal N/A sorted N/A N/A G edges N/A sorted N/A N/A H edges N/A N/A assert_equal N/A sorted N/A N/A G edges data True N/A sorted N/A N/A H edges data True N/A N/A N/A N/A self simple_directed_fh seek 0 N/A test_read_simple_undirected_graphml N/A N/A self N/A N/A N/A G N/A self simple_undirected_graph N/A H N/A N/A nx read_gexf N/A self simple_undirected_fh N/A N/A assert_equal N/A sorted N/A N/A G nodes N/A sorted N/A N/A H nodes N/A N/A assert_equal N/A sorted N/A N/A sorted e N/A e N/A N/A G edges N/A sorted N/A N/A sorted e N/A e N/A N/A H edges N/A N/A N/A N/A self simple_undirected_fh seek 0 N/A test_read_attribute_graphml N/A N/A self N/A N/A N/A G N/A self attribute_graph N/A H N/A N/A nx read_gexf N/A self attribute_fh N/A N/A assert_equal N/A sorted N/A N/A G nodes True N/A sorted N/A N/A H nodes data True N/A ge N/A sorted N/A N/A G edges data True N/A he N/A sorted N/A N/A H edges data True N/A N/A a b N/A zip ge he N/A N/A N/A assert_equal a b N/A N/A N/A N/A self attribute_fh seek 0 N/A test_directed_edge_in_undirected N/A N/A self N/A N/A N/A s <?xml version="1.0" encoding="UTF-8"?>
<gexf xmlns="http://www.gexf.net/1.1draft" version="1.1">
    <graph mode="static" defaultedgetype="undirected" name="">
        <nodes>
            <node id="0" label="Hello" />
            <node id="1" label="Word" />
        </nodes>
        <edges>
            <edge id="0" source="0" target="1" type="directed"/>
        </edges>
    </graph>
</gexf>
 N/A fh N/A N/A io BytesIO N/A N/A s encode UTF-8 N/A N/A assert_raises N/A nx NetworkXError N/A nx read_gexf fh N/A test_undirected_edge_in_directed N/A N/A self N/A N/A N/A s <?xml version="1.0" encoding="UTF-8"?>
<gexf xmlns="http://www.gexf.net/1.1draft" version="1.1">
    <graph mode="static" defaultedgetype="directed" name="">
        <nodes>
            <node id="0" label="Hello" />
            <node id="1" label="Word" />
        </nodes>
        <edges>
            <edge id="0" source="0" target="1" type="undirected"/>
        </edges>
    </graph>
</gexf>
 N/A fh N/A N/A io BytesIO N/A N/A s encode UTF-8 N/A N/A assert_raises N/A nx NetworkXError N/A nx read_gexf fh N/A test_key_raises N/A N/A self N/A N/A N/A s <?xml version="1.0" encoding="UTF-8"?>
<gexf xmlns="http://www.gexf.net/1.1draft" version="1.1">
    <graph mode="static" defaultedgetype="directed" name="">
        <nodes>
            <node id="0" label="Hello">
              <attvalues>
                <attvalue for='0' value='1'/>
              </attvalues>
            </node>
            <node id="1" label="Word" />
        </nodes>
        <edges>
            <edge id="0" source="0" target="1" type="undirected"/>
        </edges>
    </graph>
</gexf>
 N/A fh N/A N/A io BytesIO N/A N/A s encode UTF-8 N/A N/A assert_raises N/A nx NetworkXError N/A nx read_gexf fh N/A test_relabel N/A N/A self N/A N/A N/A s <?xml version="1.0" encoding="UTF-8"?>
<gexf xmlns="http://www.gexf.net/1.1draft" version="1.1">
    <graph mode="static" defaultedgetype="directed" name="">
        <nodes>
            <node id="0" label="Hello" />
            <node id="1" label="Word" />
        </nodes>
        <edges>
            <edge id="0" source="0" target="1"/>
        </edges>
    </graph>
</gexf>
 N/A fh N/A N/A io BytesIO N/A N/A s encode UTF-8 N/A G N/A N/A nx read_gexf fh relabel True N/A N/A assert_equal N/A sorted N/A N/A G nodes N/A Hello Word N/A test_default_attribute N/A N/A self N/A N/A N/A G N/A N/A nx Graph N/A N/A N/A G add_node 1 label 1 color green N/A N/A N/A nx add_path G N/A 0 1 2 3 N/A N/A N/A G add_edge 1 2 foo 3 N/A N/A N/A G graph N/A node_default N/A color yellow N/A N/A N/A G graph N/A edge_default N/A foo 7 N/A fh N/A N/A io BytesIO N/A N/A N/A nx write_gexf G fh N/A N/A N/A fh seek 0 N/A H N/A N/A nx read_gexf fh node_type int N/A N/A assert_equal N/A sorted N/A N/A G nodes N/A sorted N/A N/A H nodes N/A N/A assert_equal N/A sorted N/A N/A sorted e N/A e N/A N/A G edges N/A sorted N/A N/A sorted e N/A e N/A N/A H edges N/A N/A N/A H graph N/A mode N/A N/A assert_equal N/A G graph N/A H graph N/A test_serialize_ints_to_strings N/A N/A self N/A N/A N/A G N/A N/A nx Graph N/A N/A N/A G add_node 1 id 7 label 77 N/A fh N/A N/A io BytesIO N/A N/A N/A nx write_gexf G fh N/A N/A N/A fh seek 0 N/A H N/A N/A nx read_gexf fh node_type int N/A N/A assert_equal N/A list H N/A 7 N/A N/A assert_equal N/A N/A N/A H node N/A 7 N/A label 77 N/A test_write_with_node_attributes N/A N/A self N/A N/A N/A G N/A N/A nx path_graph 4 N/A i N/A range 4 N/A N/A N/A N/A N/A G node N/A i N/A id i N/A N/A N/A N/A G node N/A i N/A label i N/A N/A N/A N/A G node N/A i N/A pid i N/A expected N/A N/A <gexf version="1.1" xmlns="http://www.gexf.net/1.1draft" xmlns:viz="http://www.gexf.net/1.1draft/viz" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.w3.org/2001/XMLSchema-instance">
  <graph defaultedgetype="undirected" mode="static" name="path_graph(4)">
    <meta>
      <creator>NetworkX {}</creator>
      <lastmodified>{}</lastmodified>
    </meta>
    <nodes>
      <node id="0" label="0" pid="0" />
      <node id="1" label="1" pid="1" />
      <node id="2" label="2" pid="2" />
      <node id="3" label="3" pid="3" />
    </nodes>
    <edges>
      <edge id="0" source="0" target="1" />
      <edge id="1" source="1" target="2" />
      <edge id="2" source="2" target="3" />
    </edges>
  </graph>
</gexf> format N/A nx __version__ N/A N/A time strftime %d/%m/%Y N/A obtained N/A N/A join N/A N/A nx generate_gexf G N/A N/A assert_equal expected obtained N/A test_bool N/A N/A self N/A N/A N/A G N/A N/A nx Graph N/A N/A N/A G add_node 1 testattr True N/A fh N/A N/A io BytesIO N/A N/A N/A nx write_gexf G fh N/A N/A N/A fh seek 0 N/A H N/A N/A nx read_gexf fh node_type int N/A N/A assert_equal N/A N/A N/A H node N/A 1 N/A testattr True N/A N/A