Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Feature Request] Option to bring container forward (in front of neighbors) when expanding it #4413

Open
2 tasks done
kryptot7 opened this issue May 18, 2024 · 0 comments
Open
2 tasks done

Comments

@kryptot7
Copy link

  • I agree to follow the Code of Conduct that this project adheres to.
  • I have searched the issue tracker for a feature request that matches the one I want to file, without success.

Is your feature request related to a problem? Please describe.
When expanding a container, it often isn't readable because the object is located behind neighboring objects.

Describe the solution you'd like
I'd like an option so that whenever the user expands a container, it is automatically shown in front of any neighboring objects.
When the container is collapsed, it should return to its original sorting position.

This means the objects in the group can easily be shown/hidden like a modal dialog.
The benefit of this: You can pack large groups of objects within a small container. You can easily view/edit these details regardless of the size constraints of the flowchart.

Perhaps this could be done by temporarily overriding the object's sorting depth (rendering it in front regardless of where it's supposed to be, until the container is collapsed again).
If multiple overlapping containers are opened this way, the one opened more recently is shown in front.

Describe alternatives you've considered

  • Use "Move Neighbors" or "Move Cells on Fold": This is an option, but it can easily lead to the structure of the diagram getting messed up by repeatedly moving cells. This is especially true if I open multiple containers at once, move their neighbors and make edits, and later, close the containers. The neighboring cells are unlikely to end up where they're supposed to be.
    See the second GIF for a general example of this feature making it easy to misplace your objects.

Additional context
container_collapse_order

Example of me playing around with holding Shift while collapsing and expanding containers, to demonstrate how easy it is to misplace your objects with this feature:
unreliable_move_collapse

Thank you for making draw.io, it's truly a very special app!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant