statnet / statnetWeb

A graphical user interface for network modeling with the 'statnet' software
GNU General Public License v3.0
29 stars 17 forks source link

Nodal attributes do not display on network plot on hover #77

Closed martinamorris closed 4 years ago

martinamorris commented 4 years ago

can be reproduced using built-in net faux.mesa.high

netterie commented 4 years ago

Jeanette's replication of the problem

image

martinamorris commented 4 years ago

Interesting, I don't get the node enlargement using Windows.

But I do get the warning/error in the console.

netterie commented 4 years ago

After browsing the code for a super long time, I realized that lines 1400 to 1418 specifically code the attributes to display UPON CLICK only when Interactive Plot is selected. Indeed, this works!

image

Whether or not coordinates could or should display on hover rather than click:

martinamorris commented 4 years ago

Ok then, thanks for that. It works for me too when I select the interactive plot.

I didn't even notice that option, even though it was the very first choice up top...

Whether or not coordinates could or should display on hover rather than click

If by "coordinates" you mean nodal attributes, then display on click is fine. It might be helpful to come up some context specific help to let users know that when they switch to interactive plot that clicking the node brings up the attributes. Will file a (not urgent) issue for this specifically.

netterie commented 4 years ago

Great, I see the new issue you've opened. Yes, by "coordinates" I did actually mean nodal attributes!