Description Usage Arguments Value See Also Examples

A graph with no edges

1 2 3 | ```
make_empty_graph(n = 0, directed = TRUE)
empty_graph(...)
``` |

`n` |
Number of vertices. |

`directed` |
Whether to create a directed graph. |

`...` |
Passed to |

An igraph graph.

Other determimistic constructors:
`graph_from_atlas()`

,
`graph_from_edgelist()`

,
`graph_from_literal()`

,
`make_chordal_ring()`

,
`make_full_citation_graph()`

,
`make_full_graph()`

,
`make_graph()`

,
`make_lattice()`

,
`make_ring()`

,
`make_star()`

,
`make_tree()`

1 2 | ```
make_empty_graph(n = 10)
make_empty_graph(n = 5, directed = FALSE)
``` |

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.