set_node_attr_with_selection {DiagrammeR} | R Documentation |
From a graph object of class dgr_graph
, set node
attribute properties for nodes available in a selection.
set_node_attr_with_selection(graph, node_attr, value)
graph |
a graph object of class |
node_attr |
the name of the attribute to set. |
value |
the value to be set for the chosen attribute for the chosen nodes. |
either a graph object of class dgr_graph
.