saveNodePosition(node) {

    if (node.id && node.x != null && node.y != null) {
      // only pass coordinates to prevent other data from being stored!
      this.saveNodeData(node.id, { x: node.x, y: node.y });
    }

  }
Saves a node's position to the store

@param {Node} node