% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/conversion.R
\name{get.edgelist}
\alias{get.edgelist}
\title{Convert a graph to an edge list}
\usage{
get.edgelist(graph, names = TRUE)
}
\arguments{
\item{graph}{The graph to convert.}

\item{names}{Whether to return a character matrix containing vertex
names (i.e. the \code{name} vertex attribute) if they exist or numeric
vertex ids.}
}
\description{
\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}}

\code{get.edgelist()} was renamed to \code{\link[=as_edgelist]{as_edgelist()}} to create a more
consistent API.
}
\section{Related documentation in the C library}{
\href{https://igraph.org/c/html/0.10.17/igraph-Structural.html#igraph_get_edgelist}{\code{get_edgelist()}}, \href{https://igraph.org/c/html/0.10.17/igraph-Basic.html#igraph_vcount}{\code{vcount()}}
}

\keyword{internal}
