graph.empty: A graph with no edges

View source: R/make.R

graph.emptyR Documentation

A graph with no edges

Description

[Deprecated]

graph.empty() was renamed to make_empty_graph() to create a more consistent API.

Usage

graph.empty(n = 0, directed = TRUE)

Arguments

n

Number of vertices.

directed

Whether to create a directed graph.


igraph/rigraph documentation built on Aug. 16, 2024, 1:38 p.m.