code: function( name, value ){
      let cy = this.cy();
  
      if( !cy.styleEnabled() ){ return this; }
  
      let updateTransitions = false;
      let style = cy.style();
  
      if( is.plainObject( name ) ){ // then extend the bypass
        let props = name;
        style.applyBypass( this, props, updateTransitions );
  
        this.emitAndNotify( 'style' ); // let the renderer know we've updated style
  
      } else if( is.string( name ) ){
  
        if( value === undefined ){ // then get the property from the style
          let ele = this[0];
  
          if( ele ){
            return style.getStylePropertyValue( ele, name );
          } else { // empty collection => can't get any value
            return;
          }
  
        } else { // then set the bypass with the property value
          style.applyBypass( this, name, value, updateTransitions );
  
          this.emitAndNotify( 'style' ); // let the renderer know we've updated style
        }
  
      } else if( name === undefined ){
        let ele = this[0];
  
        if( ele ){
          return style.getRawStyle( ele );
        } else { // empty collection => can't get any value
          return;
        }
      }
  
      return this; // chaining
    }
docs: read the calculated css style of the element or override the style (via a bypass)