% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/get_graph_nodes.R
\name{get_graph_nodes}
\alias{get_graph_nodes}
\title{Extract node table from graph object}
\usage{
get_graph_nodes(graph_obj)
}
\arguments{
\item{graph_obj}{A graph object from \code{build_graph_from_mat} or \code{build_graph_from_df}.}
}
\value{
A data frame with one row per node; columns include node attributes.
}
\description{
Returns the node (vertex) table as a data frame, including attributes such as
\code{name}, \code{Modularity}, \code{Degree}, \code{Strength}, etc.
}
\examples{
data(ppi_example)
obj <- build_graph_from_df(
  df              = ppi_example$ppi,
  node_annotation = ppi_example$annotation
)
head(get_graph_nodes(obj))
}
