Rdocumentation
powered by
Learn R Programming
DiagrammeR (version 0.8.1)
set_edge_attr_with_selection: Set edge attributes based on a selection of edges
Description
From a graph object of class
dgr_graph
, set edge attribute properties for edges available in a selection.
Usage
set_edge_attr_with_selection(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 chosen edges.
Value
a graph object of class
dgr_graph
.