R/create.R
create_empty_graph.Rd
Generate a graph with no edges
create_empty_graph(n_vertices, directed = TRUE, graph = c("igraph", "network"))
numeric, number of vertices
logical, whether to create a directed graph
character, the type of graph to be generated: igraph or network
igraph
network
a graph of class network or igraph
Generate a graph with no edges, either as a igraph or network object.