Feature request: Bring/send selected shape (with related lines/titles) to front/back with undo/redo support

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.

Hello,

Could you clarify your feature request in more detail?
We have two different entities - Diagram and DiagramEditor - and their behavior differs.
Could you share a couple of images showing the exact scenario where you expect this ā€œbring/sendā€ behavior, so we can understand what should happen in your case?

Hello,

I’d like this feature available in the DiagramEditor.

When multiple shapes overlap, the current rendering order depends on whether a shape appears at the beginning or the end of the JSON, which makes the z-order unpredictable.

We can emulate this with existing features, but that approach becomes slow when there are many elements. Ideally, we’d have a built-in ā€œbring to front / send to backā€ feature like Microsoft PowerPoint, implemented as a single transaction that treats the selected shape and its dependents together and is recorded in history for undo/redo.

I’d like to post an image, but it’s a shame I can’t paste it here.

Hello,

Thanks for the additional details. I’ve added the request to our internal tracker. However, I can’t guarantee whether it will be implemented, but I’ll let you know if there’s any progress.

1 Like