drawio icon indicating copy to clipboard operation
drawio copied to clipboard

Add cross selection

Open mrns opened this issue 8 years ago • 4 comments

I used Autocad in the past and although it has another purpose, their object selection tool has 2 modes, depending on the direction you create the selection box, left or right. Dragging towards right selects all objects contained by the selection (window selection), this is how draw.io works now; dragging towards left selects all objects crossed by the selection or inside it (cross selection). Here is a link to AutoDesk documentation about this feature.

https://knowledge.autodesk.com/support/autocad-lt/learn-explore/caas/CloudHelp/cloudhelp/2018/ENU/AutoCAD-LT/files/GUID-243E4DD0-8947-4905-AFE2-BE9B903A8C3F-htm.html

Cross selection makes it easier to select objects in scenarios that are difficult to achieve using window selection, like for instance selecting a container box and only some of its children. Using window selection the only way to do this is by selecting all and then deselecting some objects, with cross selection you can just cross over the container box and only the children you want.

mrns avatar Aug 03 '18 13:08 mrns

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

stale[bot] avatar Jul 05 '19 11:07 stale[bot]

Use Alt+Drag to select intersection

davidjgraph avatar Sep 30 '21 16:09 davidjgraph

I just noticed the selection behavior in diagrams.net changed recently and came across this Issue. I've been using Opt + Click (I'm using a Mac) frequently to click within a larger container and window select items within that container. Now Opt + Click appears to always be doing cross selection (irregardless if I'm selecting right or left). How do I do window selection within a container now?

brandonjyee avatar Oct 03 '21 17:10 brandonjyee

Release the alt key before releasing the mouse button.

alderg avatar Oct 03 '21 17:10 alderg