Graph operations
Usage
qd_set_node_attrs(graph_obj, ..., alpha_ids)
qd_set_edge_attrs(graph_obj, ..., from_alpha = NULL, to_alpha = NULL)
select_nodes_by_alpha_id(graph_obj, alpha_ids, set_op = "union")
qd_select_nodes(graph_obj, alpha_ids, set_op = "union")
select_edges_by_node_alpha_id(graph_obj, alpha_ids, set_op = "union")
qd_select_edges(graph_obj, alpha_ids, set_op = "union")Arguments
- graph_obj
- ...
Passed to
DiagrammeR::set_node_attrs()orDiagrammeR::set_edge_attrs()argumentnode_attroredge_attr, respectively.DiagrammeR::set_edge_attrs()argument of the same name.- alpha_ids
A vector of alphanumeric node IDs upon which to operate.
- from_alpha
A vector of alphanumeric source node IDs.
- to_alpha
A vector of alphanumeric destination node IDs.
- set_op
Passed to the
set_opargument ofDiagrammeR::select_nodes_by_id()orDiagrammeR::select_edges_by_node_id(). Defaults to "union".