opened 07:30PM - 22 Sep 19 UTC
type: task
tag: component: bokehjs
Currently when a selection tool acts on multiple glyphs, we try to combine those… indices according to some policy. That's well and good, but we compute the aggregated versions "along the way" and never store the per-glyph selections. I would like to make the steps along the way more explicit. In particular, I would like to make selections for each glyph be stored independently, possibly exposed to user. And then a policy can act cleanly on these independent selection values.
I would also like to add a boolean flag per-glyph that states whether there is any selection at all. This solves the issue of knowing, e.g. just whether a `Line` or `Patch` is hit, but can also be uniformly applied across glyphs.