def _set_node(self, value):
    """Outdated method to set the node value; use the set_label() method instead."""
raise NotImplementedError('Use set_label() method to set a node label.')
"NotImplementedError: Use label() to access a node label"