Hello
It would be great to have:
A built-in API to move the selected shape to front/back while preserving its related lines and line titles.
The operation recorded in history, so undo/redo works.
Ideally a single command/transaction (e.g., bringToFront/sendToBack) that treats the shape and its dependents as one action.
This would make layer management more reliable without breaking links, and improve the editing workflow.