Replies: 1 comment
-
@guerda the auto-color scale is just a quick convenience method for assigning different colors based on a simple logic. If you need anything more sophisticated than that, it's better you use the more appropriate .nodeColor(color) With |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have an attribute defined to auto-color the nodes based on a grouping attribute.
I would like to add a simple legend with colors and the grouping attribute.
In d3.js I did the following thing, but I seem to miss how I can access force-graph's color palette. Is there any way to do this?
Beta Was this translation helpful? Give feedback.
All reactions