map_themes | R Documentation |
These functions enable graphs to be easily and quickly themed, e.g. changing the default colour of the graph's vertices and edges.
set_manynet_theme(theme = "default")
theme_iheid(base_size = 12, base_family = "serif")
theme_ethz(base_size = 12, base_family = "sans")
theme_uzh(base_size = 12, base_family = "sans")
theme_rug(base_size = 12, base_family = "mono")
theme |
String naming a theme. By default "default". |
base_size |
Font size, by default 12. |
base_family |
Font family, by default "sans". |
to_mentoring(ison_brandes) %>%
mutate(color = c(rep(c(1,2,3), 3), 3)) %>%
graphr(node_color = "color") +
labs(title = "Who leads and who follows?") +
scale_color_iheid() +
theme_iheid()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.