MCPcopy Create free account
hub / github.com/easy-graph/Easy-Graph / __init__

Method __init__

easygraph/readwrite/gexf.py:644–649  ·  view source on GitHub ↗
(self, node_type=None, version="1.2draft")

Source from the content-addressed store, hash-verified

642 # Class to read GEXF format files
643 # use read_gexf() function
644 def __init__(self, node_type=None, version="1.2draft"):
645 self.construct_types()
646 self.node_type = node_type
647 # assume simple graph and test for multigraph on read
648 self.simple_graph = True
649 self.set_version(version)
650
651 def __call__(self, stream):
652 self.xml = ElementTree(file=stream)

Callers

nothing calls this directly

Calls 2

set_versionMethod · 0.80
construct_typesMethod · 0.45

Tested by

no test coverage detected