undo(graphics, id) {
    const { props } = this.undoData;

    graphics.setObjectProperties(id, props);

    return Promise.resolve();
  }
@param {Graphics} graphics - Graphics instance
@param {number} id - object id
@returns {Promise}