function isBBoxChild(element) {

  // exclude connections
  if (element.waypoints) {
    return false;
  }

  // exclude labels
  if (element.type === 'label') {
    return false;
  }

  return true;
}
Is the given element part of the resize
targets min boundary box?

This is the default implementation which excludes
connections and labels.

@param {Element} element