code: function createOptionsObject(target, opts) {
    let defaults = {
      boundingBox : {
        top: 0,
        left: 0,
        right: 0,
        bottom: 0,
        w: 3,
        h: 3,
      },
      renderedDimensions : () => ({w: 3, h: 3}),
      redneredPosition : () => ({x : 0, y : 0}),
      popper : {},
      cy : target
    };
  
    return assign( {}, defaults, opts );
  }
docs: Create a options object with required default values