% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/attributes.R
\name{get.vertex.attribute}
\alias{get.vertex.attribute}
\title{Query vertex attributes of a graph}
\usage{
get.vertex.attribute(graph, name, index = V(graph))
}
\arguments{
\item{graph}{The graph.}

\item{name}{Name of the attribute to query. If missing, then
all vertex attributes are returned in a list.}

\item{index}{An optional vertex sequence to query the attribute only
for these vertices.}
}
\description{
\ifelse{html}{\href{https://lifecycle.r-lib.org/articles/stages.html#deprecated}{\figure{lifecycle-deprecated.svg}{options: alt='[Deprecated]'}}}{\strong{[Deprecated]}}

\code{get.vertex.attribute()} was renamed to \code{\link[=vertex_attr]{vertex_attr()}} to create a more
consistent API.
}
\keyword{internal}
