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 documentation built on Oct. 20, 2024, 1:06 a.m.