Relayout events during movement for every shape by kilianjn · Pull Request #7726 · plotly/plotly.js

I am in the process of building an image viewer where I want to draw rect or circular shapes for further analysis of image values over time.
Circular shapes made my life quite easy since the relayouting events are emitted at every move and update my statistics so i could quickly check lots of possibilities. I wanted to have the same functionality with rect shapes so they behave similarly.

I am aware that it means that the computational cost increases but I prefer behaviour-similarity over saving performance at every cost.
Let me know what you think.

Cheers