function getNewShapePosition(source, element, hints) {
  if (!hints) {
    hints = {};
  }

  var distance = hints.defaultDistance || DEFAULT_DISTANCE;

  var sourceMid = getMid(source),
      sourceTrbl = asTRBL(source);

  // simply put element right next to source
  return {
    x: sourceTrbl.right + distance + element.width / 2,
    y: sourceMid.y
  };
}
Find the new position for the target element to
connect to source.

@param {Shape} source
@param {Shape} element
@param {Object} [hints]
@param {Object} [hints.defaultDistance]

@return {Point}