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.
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?
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.
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
Get a guaranteed answer from DHTMLX technical support team
under the most suitable support plan