get.edgelist: Convert a graph to an edge list

View source: R/conversion.R

get.edgelistR Documentation

Convert a graph to an edge list

Description

[Deprecated]

get.edgelist() was renamed to as_edgelist() to create a more consistent API.

Usage

get.edgelist(graph, names = TRUE)

Arguments

graph

The graph to convert.

names

Whether to return a character matrix containing vertex names (i.e. the name vertex attribute) if they exist or numeric vertex ids.

Related documentation in the C library

get_edgelist(), vcount()


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