Use this if you are using igraph from R
A graph with no edges
make_empty_graph(n = 0, directed = TRUE) empty_graph(...)
Number of vertices.
Whether to create a directed graph.
An igraph graph.
Other determimistic constructors:
make_empty_graph(n = 10) make_empty_graph(n = 5, directed = FALSE)