combine_graphs {DiagrammeR} | R Documentation |
Combine two graphs in order to make a new graph, merging nodes and edges in the process. The use of an optional data frame allows for new edges to be formed across the combined graphs.
combine_graphs(x, y, edges_df = NULL)
x |
a |
y |
a |
edges_df |
an optional edge data frame that allows for connections between nodes across the graphs to be combined. |
a graph object of class dgr_graph
.