% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/node.R
\name{node}
\alias{node}
\title{Define a tree node}
\usage{
node(name, ..., .values = list())
}
\arguments{
\item{name}{Display label shown in the Name column.}

\item{...}{Child \code{\link[=node]{node()}} objects. Supplying children makes this a parent
(group) row whose column values are rolled up from children unless
overridden via \code{.values}.}

\item{.values}{Named list of column values. For leaf nodes supply all values
here. For parent nodes any value supplied here overrides the computed
rollup for that column; omitted columns are still computed from children.}
}
\value{
A named list with elements \code{name}, \code{values}, and \code{children}.
}
\description{
Define a tree node
}
