Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Network : Add a legend functionnality #34

Open
RCura opened this issue Oct 11, 2012 · 1 comment
Open

Network : Add a legend functionnality #34

RCura opened this issue Oct 11, 2012 · 1 comment
Labels

Comments

@RCura
Copy link

RCura commented Oct 11, 2012

Hi, I'm using CHAP Links Library to display some small networks, and find it really awesome for all the aesthetic/manipulations possibilities it allows.
Now that my networks are done and implemented, I'd like to be able to create a legend to explain the visual variables represented.
The easiest solution is to make a static image, but well, in a dynamic environment, it's just a big level below the network itself.
I thought of 2 different ways to have a "dynamic" (ie. automatically generated) legend :

  • Add a native legend item, like it's done in graph library.
  • Easier, add a possibility to "fix" the network, ie. make it selectable but non movable. This way, I could create another network in my page, fix the x/y of the nodes using styles, and use the labeling to display the meaning of each symbol.
    The second possibility would, afaik, be much easier to implement, and requires more work for the user, but I think it would already be a good first step to enhance this network module.

I hope it's something that can be done :)
Anyway, thanks a lot for your work, this lib is really helpfull for me ^^

@josdejong
Copy link
Contributor

Nice idea, thanks. I see a couple of different quantities that could be displayed in a legend:

  • a legend listing the different node groups (typically each having a different shape or color)
  • a legend explaining the colors of the links
  • a legend explaining the range of values of the nodes
  • a legend explaining the range of values of the links

The latter two legends could be similar to this legend in the Graph3d.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants