def _edges_replaced(self, object, name, old, new):
        """ Handles a list of edges being set.
        """
        self._delete_edges(old)
        self._add_edges(new)
Handles a list of edges being set.