Likbjorn / tag-cloud

Frontend representation for cloud of linked tags
MIT License
0 stars 0 forks source link

Bubbles should invite user to interact with them #8

Closed Likbjorn closed 4 years ago

Likbjorn commented 4 years ago

EDIT: add tasks from Cobold EDIT 2: we want all nodes to react, not the closest one

Cobolock commented 4 years ago
Likbjorn commented 4 years ago

Color shifts when mouse approaches

Checkout voronoi diagram (available in d3.js). It will allow you to trigger only the closest bubble and avoid situations, when trigger areas of different bubbles collide.

Cobolock commented 4 years ago

Checkout voronoi diagram (available in d3.js). It will allow you to trigger only the closest bubble and avoid situations, when trigger areas of different bubbles collide.

We need every bubble in the unspecified range to react with mouse. That may mean one or all of them.

Likbjorn commented 4 years ago

We need to describe how bubbles will interact with user in detail before creating specific tasks. I don't have a good understanding of it yet.

What we may do. When cursor is close or when cursor is over the element:

Definition of "close" selection: either all elements within specified range or only the closest one.