graphit/graph.py
def _set_origin(self, graph):
        """
        Set a weak reference to the full graph
        
        :param graph: Graph instance
        """
        
        if isinstance(graph, GraphBase):
            self.origin = weakref.ref(graph.origin)()

        Set a weak reference to the full graph
        
        :param graph: Graph instance
        
Set a weak reference to the full graph
Set a weak reference to the full graph
def _set_origin(self, graph):
        if isinstance(graph, GraphBase):
            self.origin = weakref.ref(graph.origin)()
def _set_origin ( self , graph ) : if isinstance ( graph , GraphBase ) : self . origin = weakref . ref ( graph . origin ) ( )
Set a weak reference to the full graph
Set a weak reference to the full graph
"""
        Set a weak reference to the full graph
        
        :param graph: Graph instance
        """
self
graph
None