mastodon-sc/mastodon

Allow free form selection in Grapher Window

stefanhahmann opened this issue · 0 comments

User Story

It would be good if data points in the grapher window could be selected not only using rectangular selection, but also via free form selection, similar to Napari plotter.

Selection in the Grapher window using rectangular selection:

GIF 06 12 2022 12-10-54

Napari Cluster Plotter:

multi-select-manual-clustering

Acceptance criteria

  1. Possibility to change selection in UI (either via Click-Button in the UI or by some Key pressed + Mouse dragging combination)
  2. Free form is drawn in the Grapher
  3. One free form is possible simultaneously (as only one simultaneous selection is possible at the moment)
  4. Points in the Grapher are selected according to the free form - similar to rectangular selection
  5. Free form is deleted and selection is deleted if a new selection is started.

Tasks

  • Implementation of UI handling to draw free form
  • Draw free form in Grapher
  • Select points according to free form
  • Delete free form and selection, if a new selection is started.