Move shape with connected text annotations

I want to, when moving a shape, automatically move the connected “text annotations” (example below).

Screenshot 2021-03-06 at 18.26.46

How can I do that? Thank you for helping.

We have a kind of similar behavior for external labels: LabelBehavior.

If you really want to achieve similar for elements and their connected text annotations, I guess you will have to implement a similar modeling behavior.

Could you elaborate on why that would be your expected behavior?