graph.empty {igraph}R 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.


[Package igraph version 2.1.4 Index]