graph.ring: Create a ring graph

View source: R/make.R

graph.ringR Documentation

Create a ring graph

Description

[Deprecated]

graph.ring() was renamed to make_ring() to create a more consistent API.

Usage

graph.ring(n, directed = FALSE, mutual = FALSE, circular = TRUE)

Arguments

n

Number of vertices.

directed

Whether the graph is directed.

mutual

Whether directed edges are mutual. It is ignored in undirected graphs.

circular

Whether to create a circular ring. A non-circular ring is essentially a “line”: a tree where every non-leaf vertex has one child.


igraph/rigraph documentation built on June 28, 2024, 7:13 a.m.