Beispiel #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
Beispiel #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
Beispiel #3
0
 def setUp(self):
     TestMultiDiGraph.setUp(self)
     self.Graph = nx.MultiDiGraph
Beispiel #4
0
 def setUp(self):
     TestMultiDiGraph.setUp(self)
     self.Graph = nx.MultiDiGraph