graph.edgelist: Create a graph from an edge list matrix

View source: R/conversion.R

graph.edgelistR Documentation

Create a graph from an edge list matrix

Description

[Deprecated]

graph.edgelist() was renamed to graph_from_edgelist() to create a more consistent API.

Usage

graph.edgelist(el, directed = TRUE)

Arguments

el

The edge list, a two column matrix, character or numeric.

directed

Whether to create a directed graph.

Related documentation in the C library

create(), empty(), vcount(), famous(), simplify()


igraph documentation built on May 4, 2026, 9:07 a.m.