code: function(port) {
  
              if (this._portElementsCache[port.id]) {
                  return this._portElementsCache[port.id].portElement;
              }
              return this._createPortElement(port);
          }
docs: Try to get element from cache,
  @param port
  @returns {*}
  @private