code: def __init__(self, node_type=None, version="1.2draft"):
      self.construct_types()
      self.node_type = node_type
      # assume simple graph and test for multigraph on read
      self.simple_graph = True
      self.set_version(version)
  
imports: import itertools
  import time
  from xml.etree.ElementTree import Element, ElementTree, SubElement, register_namespace, tostring
  import networkx
  from networkx.utils import open_file
label_desc: Use image node_id 1 to create a new GEXFReader object from inherited base classes: GEXF with example: obj = GEXFReader(node_type, version)