| register_theme | R Documentation |
Register a new theme for network visualization.
register_theme(name, theme)
name |
Character. Name of the theme. |
theme |
A CographTheme object or a list of theme parameters. |
Invisible NULL.
# Register a custom theme
register_theme("custom", list(
background = "white",
node_fill = "steelblue",
node_border = "navy",
edge_color = "gray50"
))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.