function mid(element) {
  return {
    x: element.x + round(element.width / 2),
    y: element.y + round(element.height / 2)
  };
}
@typedef {import('../../core/Types').ElementLike} Element
@typedef {import('../../core/Types').ShapeLike} Shape

@typedef {import('../dragging/Dragging').default} Dragging
@typedef {import('../../core/EventBus').default} EventBus
@typedef {import('../modeling/Modeling').default} Modeling
@typedef {import('../rules/Rules').default} Rules
@typedef {import('../selection/Selection').default} Selection