def __init__(self): GraphAdapterBase.__init__(self) Observed.__init__(self) self.set_graph(nx.Graph())
def __init__(self, graph, identifier): Observed.__init__(self) self.identifier = identifier self.g = weakref.ref(graph)