simularium / simularium-planning

Apache License 2.0
0 stars 0 forks source link

UX Design to highlight agents for selected scatterplot datapoints #59

Open blairlyons opened 3 years ago

blairlyons commented 3 years ago

Use Case

For a scatterplot where each datapoint is calculated for a specific agent, it would be nice if a user could select datapoint(s) on the plot and see the corresponding agent(s) highlighted in the 3D view. And vice versa, if a user selects agent(s) in the 3D view, it would be nice if they could see the datapoint(s) for those agent(s) highlighted on each relevant scatterplot.

Acceptance Criteria

A user can interactively select datapoint(s) on a plot and see the corresponding agent(s) show up as highlighted in the 3D view, and they can select agent(s) in the 3D view and see the corresponding datapoint(s) highlighted on any relevant plots.

Details

This requires a way to select and deselect datapoints on scatterplots and a visual treatment to indicate which datapoints are selected or highlighted.

Agents are currently selected by clicking on them, it would make sense for the plot datapoints to be selected similarly.

This also requires a way to select multiple agents in the 3D view.

It seems like it would be best for the clicked item to be put into 'selected' state and the corresponding item in the other view to be put into 'highlighted' state.