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

group coloring nodes #149

Open
amorigoye opened this issue Jul 8, 2019 · 0 comments
Open

group coloring nodes #149

amorigoye opened this issue Jul 8, 2019 · 0 comments

Comments

@amorigoye
Copy link

I am playing with visualization using visNetwork. I want group of nodes to have the same color.
library(visNetwork)
nodes<-data.frame(id=1:9)
edges<-data.frame(from =c(1,2,3,4,4,3,5,5), to=c(2,3,4,6,8,5,7,9))
I want {5,7,9} to be of same color and {4,6,8} also be of different color.
Your help would be appreciated. Thank you

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

No branches or pull requests

1 participant