annotate_network | R Documentation |
The igraph syntaxes are a little clunky, but the set_attr() functions mostly make sense.
annotate_network(
network,
names,
color = NULL,
default = NULL,
annot_name = "type",
annot_value = "high"
)
network |
Input network |
names |
set of node-names to which to add annotations. |
color |
Color to attach to the added annotation. |
default |
Set a default annotation for this name to all nodes. |
annot_name |
Annotation name to attach to the nodes. |
annot_value |
and the associated value. |
a new network!
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.