saveNodeStyle(nodeId, style) {

    // remove any previos style from store;
    // @TODO: optimize this only null in style var needs to be removed
    const data = this.getNodeData(nodeId) || {};

    const pos = { x: data.x, y: data.y };

    // tabula rasa! delete all previous properties
    for (let p in data) {
      delete data[p];
    }

    // save new style
    this.saveNodeData(nodeId, {
      ...style,
      ...pos
    });

  }
Saves the provided style for the node with the specified id in the view's store.

Note: The coordinates of the node on the map are not stored via this function.
For this task, use saveNodePosition() instead.

@param {string} nodeId
@param {Object} style