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 Feb. 5, 2025, 6:29 p.m.