cache_edge_attrs_ws {DiagrammeR} | R Documentation |
From a graph object of class
dgr_graph
, get edge attribute properties for
edges available in a selection and cache those
values in the graph for later retrieval using
get_cache
.
cache_edge_attrs_ws(graph, edge_attr, mode = NULL)
graph |
a graph object of class
|
edge_attr |
the edge attribute from which to obtain values. |
mode |
a option to recast the returned vector
of edge attribute value as |
a graph object of class dgr_graph
.