def remove_node ( self , node ) : if _debug : Network . _debug ( "remove_node %r" , node ) self . nodes . remove ( node ) node . lan = None
python networkx remove node
Remove a node from this network .
def remove_node(self, node):
        """ Remove a node from this network. """
        if _debug: Network._debug("remove_node %r", node)

        self.nodes.remove(node)
        node.lan = None