% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/class-network.R
\name{get_nodes}
\alias{get_nodes}
\title{Get Nodes from Cograph Network}
\usage{
get_nodes(x)
}
\arguments{
\item{x}{A cograph_network object.}
}
\value{
A node metadata data frame, usually with \code{id} and \code{label}
columns, plus layout or other metadata columns when present.
}
\description{
Extracts the nodes data frame from a cograph_network object.
}
\examples{
mat <- matrix(c(0, 1, 1, 1, 0, 1, 1, 1, 0), nrow = 3)
net <- as_cograph(mat)
get_nodes(net)
}
\seealso{
\code{\link{as_cograph}}, \code{\link{n_nodes}}, \code{\link{get_edges}}
}
