mastodon-sc / mastodon

Mastodon – a large-scale tracking and track-editing framework for large, multi-view images.
BSD 2-Clause "Simplified" License
66 stars 20 forks source link

Allow free form selection in Grapher Window #220

Open stefanhahmann opened 1 year ago

stefanhahmann commented 1 year ago

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