| resolve_node_colors | R Documentation |
Determines node colors from various inputs.
resolve_node_colors(
color,
n,
nodes = NULL,
groups = NULL,
default_col = "#4A90D9"
)
color |
User-specified color(s) or NULL. |
n |
Number of nodes. |
nodes |
Node data frame (for group coloring). |
groups |
Group assignments for color mapping. |
default_col |
Default node color. |
Vector of colors for each node.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.