Exemple #1
0
 def __init__(self):
     GraphAdapterBase.__init__(self)
     Observed.__init__(self)
     self.set_graph(nx.Graph())
Exemple #2
0
 def __init__(self, graph, identifier):
     Observed.__init__(self)
     self.identifier = identifier
     self.g = weakref.ref(graph)