コード例 #1
0
ファイル: test_special.py プロジェクト: 4c656554/networkx
 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
ファイル: test_special.py プロジェクト: Harshi3030/algos
    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
ファイル: test_special.py プロジェクト: hemanthmalla/firedex
 def setUp(self):
     TestMultiDiGraph.setUp(self)
     self.Graph = nx.MultiDiGraph
コード例 #4
0
ファイル: test_special.py プロジェクト: jklaise/networkx
 def setUp(self):
     TestMultiDiGraph.setUp(self)
     self.Graph = nx.MultiDiGraph