示例#1
0
 def setUp(self):
     TestMultiDiGraph.setUp(self)
     class MyGraph(nx.MultiDiGraph):
         node_dict_factory = OrderedDict
         adjlist_dict_factory = OrderedDict
         edge_key_dict_factory = OrderedDict
         edge_attr_dict_factory = OrderedDict
     self.Graph=MyGraph
示例#2
0
    def setUp(self):
        TestMultiDiGraph.setUp(self)

        class MyGraph(nx.MultiDiGraph):
            node_dict_factory = OrderedDict
            adjlist_outer_dict_factory = OrderedDict
            adjlist_inner_dict_factory = OrderedDict
            edge_key_dict_factory = OrderedDict
            edge_attr_dict_factory = OrderedDict
        self.Graph = MyGraph
示例#3
0
 def setUp(self):
     TestMultiDiGraph.setUp(self)
     self.Graph = nx.MultiDiGraph
示例#4
0
 def setUp(self):
     TestMultiDiGraph.setUp(self)
     self.Graph = nx.MultiDiGraph