Description Usage Arguments Value Examples

These functions are tbl_graph pendants to `dplyr::bind_rows()`

that allows
you to grow your `tbl_graph`

by adding rows to either the nodes data, the
edges data, or both. As with `bind_rows()`

columns are matched by name and
are automatically filled with `NA`

if the column doesn't exist in some
instances. In the case of `bind_graphs()`

the graphs are automatically
converted to `tbl_graph`

objects prior to binding. The edges in each graph
will continue to reference the nodes in the graph where they originated,
meaning that their terminal node indexes will be shifted to match the new
index of the node in the combined graph. This means the `bind_graphs()`

always result in a disconnected graph. See `graph_join()`

for merging graphs
on common nodes.

1 2 3 4 5 | ```
bind_graphs(.data, ...)
bind_nodes(.data, ...)
bind_edges(.data, ...)
``` |

`.data` |
A |

`...` |
In case of |

A `tbl_graph`

containing the new data

1 2 3 4 5 6 7 8 9 10 11 | ```
graph <- create_notable('bull')
new_graph <- create_notable('housex')
# Add nodes
graph %>% bind_nodes(data.frame(new = 1:4))
# Add edges
graph %>% bind_edges(data.frame(from = 1, to = 4:5))
# Add graphs
graph %>% bind_graphs(new_graph)
``` |

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.