igraph (version 1.2.4.1)

make_full_graph: Create a full graph

Description

Create a full graph

Usage

make_full_graph(n, directed = FALSE, loops = FALSE)

full_graph(...)

Arguments

n

Number of vertices.

directed

Whether to create a directed graph.

loops

Whether to add self-loops to the graph.

...

Passed to make_full_graph.

Value

An igraph graph

See Also

Other determimistic constructors: graph_from_atlas, graph_from_edgelist, graph_from_literal, make_chordal_ring, make_empty_graph, make_full_citation_graph, make_graph, make_lattice, make_ring, make_star, make_tree

Examples

Run this code
# NOT RUN {
make_full_graph(5)
print_all(make_full_graph(4, directed = TRUE))
# }

Run the code above in your browser using DataCamp Workspace