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

Make area selection work. #2293

Closed
wdanilo opened this issue May 26, 2020 · 1 comment
Closed

Make area selection work. #2293

wdanilo opened this issue May 26, 2020 · 1 comment
Assignees

Comments

@wdanilo
Copy link
Member

wdanilo commented May 26, 2020

Allow selecting multiple nodes by click and dragging a selection area (rectangle).

Specification:

  • The rectangle should be created when a dragging action happens on the empty background. The drag-area is already implemented and it is disabled in the graph editor FRP. It is part of the mouse cursor API (the mouse cursor grows during the drag). This should be uncommented.
  • Shape intersection should be calculated as bounding box intersections (without caring of rounded corners of both selection area and nodes). Probably an API exposing node bounding-box should be added.
  • While the selection rectangle is visible, nodes that are getting selected should get selected interactively (during the drag), but the selection should not be persistent until the dragging has ended. For example, we start dragging the selection area over 10 nodes, and 10 nodes get selected. Then we still drag the same selection area, but we shrink it, and only 3 nodes are selected now (7 other nodes lose selection).
@wdanilo wdanilo self-assigned this May 26, 2020
@wdanilo wdanilo assigned MichaelMauderer and unassigned wdanilo Jun 3, 2020
@MichaelMauderer
Copy link
Contributor

MichaelMauderer commented May 7, 2021

  • Should also reflect keyboard modifiers for different selection nodes. (e.g., adding selection)
  • Graph editor will hold a set of node ids of the temporary selected nodes and keep track of them.

@MichaelMauderer MichaelMauderer self-assigned this May 21, 2021
@mwu-tow mwu-tow transferred this issue from enso-org/ide Oct 28, 2021
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

3 participants