make_full_graph: Create a full graph

View source: R/make.R

make_full_graphR Documentation

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 deterministic constructors: graph_from_atlas(), graph_from_edgelist(), graph_from_literal(), make_(), make_chordal_ring(), make_empty_graph(), make_full_citation_graph(), make_graph(), make_lattice(), make_ring(), make_star(), make_tree()

Examples

make_full_graph(5)
print_all(make_full_graph(4, directed = TRUE))

igraph documentation built on Oct. 20, 2024, 1:06 a.m.