map_themes function

Many themes

Many themes

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")

Arguments

  • theme: String naming a theme. By default "default".
  • base_size: Font size, by default 12.
  • base_family: Font family, by default "sans".

Examples

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()
  • Maintainer: James Hollway
  • License: MIT + file LICENSE
  • Last published: 2024-11-05