% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/conversion.R
\name{get.data.frame}
\alias{get.data.frame}
\title{Creating igraph graphs from data frames or vice-versa}
\usage{
get.data.frame(x, what = c("edges", "vertices", "both"))
}
\arguments{
\item{x}{An igraph object.}

\item{what}{Character constant, whether to return info about vertices,
edges, or both. The default is \sQuote{edges}.}
}
\description{
\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}}

\code{get.data.frame()} was renamed to \code{\link[=as_data_frame]{as_data_frame()}} 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}
