code: function updateStyle(notifyRenderer) {
      var cy = this._private.cy;
  
      if (!cy.styleEnabled()) {
        return this;
      }
  
      if (cy.batching()) {
        var bEles = cy._private.batchStyleEles;
        bEles.merge(this);
        return this; // chaining and exit early when batching
      }
  
      var hasCompounds = cy.hasCompoundNodes();
      var style$$1 = cy.style();
      var updatedEles = this;
      notifyRenderer = notifyRenderer || notifyRenderer === undefined ? true : false;
  
      if (hasCompounds) {
        // then add everything up and down for compound selector checks
        updatedEles = this.spawnSelf().merge(this.descendants()).merge(this.parents());
      }
  
      var changedEles = style$$1.apply(updatedEles);
  
      if (notifyRenderer) {
        changedEles.emitAndNotify('style'); // let renderer know we changed style
      } else {
        changedEles.emit('style'); // just fire the event
      }
  
      return this; // chaining
    }
docs: fully updates (recalculates) the style for the elements