lsstdarkmatter / dark-matter-graph

Create dark matter graphics
https://lsstdarkmatter.github.io/dark-matter-graph/
MIT License
5 stars 2 forks source link

Display node descriptions #12

Closed kadrlica closed 6 years ago

kadrlica commented 6 years ago

We have talked before about adding "tooltips" with node descriptions. I think it would be best to either display these in a sidebar or only on to display them on click. This would allow the user to continue to mouse-over the network and see connectivity (which is a nice feature of the current implementation).

yymao commented 6 years ago

Does the tooltip disappear when mouse hovers out? Or does it disappear when click happen at a different location?

kadrlica commented 6 years ago

I think it disappears when a click happens at a different location (i.e., a different node or white space around nodes). This would be similar to how the matrix boxes stay highlighted on click until a click is made on a non-colored box.

yymao commented 6 years ago

Hmm, but in that case, the user won't be able to get a highlighted view without the tooltip's interference, right?

Current case:

Tooltip on click case:

I feel the current case is more nature?

yymao commented 6 years ago

Another possibility is to display description at a fixed location (say on a side column), not using tooltips.

kadrlica commented 6 years ago

I didn't even realize that you could click to keep paths highlighted. Now that I know about it, I find it confusing that I can have multiple paths highlighted at once (the previous one that I clicked on, and the current one that I'm mousing over).

I like the fixed location idea (i.e. the sidebar suggested in the original comment). I think this could also allow us to display much more information that would be possible with a tooltip.