powered by
A graph with no edges
make_empty_graph(n = 0, directed = TRUE)empty_graph(...)
empty_graph(...)
An igraph graph.
Number of vertices.
Whether to create a directed graph.
Passed to make_graph_empty.
make_graph_empty
Other deterministic 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()
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()
make_empty_graph(n = 10) make_empty_graph(n = 5, directed = FALSE)
Run the code above in your browser using DataLab