Rdocumentation
powered by
Learn R Programming
DiagrammeR (version 0.8.4)
set_edge_attrs_ws: Set edge attributes with an edge selection
Description
From a graph object of class
dgr_graph
or an edge data frame, set edge attribute properties for one or more edges
Usage
set_edge_attrs_ws(graph, edge_attr, value)
Arguments
graph
a graph object of class
dgr_graph
that is created using
create_graph
.
edge_attr
the name of the attribute to set.
value
the value to be set for the chosen attribute for the edges in the current selection.
Value
a graph object of class
dgr_graph
.