get_legend | R Documentation |
Get the legend for a sgraph network
get_legend(colors_map, clusters)
colors_map |
Color mapping to use, typically built by 'get_color_map' |
clusters |
Group names |
Ggplot object
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.