set_node_attrs_ws {DiagrammeR} | R Documentation |
From a graph object of class
dgr_graph
or a node data frame, set node
attribute properties for nodes present in a node
selection.
set_node_attrs_ws(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 nodes in the current selection. |
a graph object of class dgr_graph
.