% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/simplicial.R
\name{plot.simplicial_complex}
\alias{plot.simplicial_complex}
\title{Plot a Simplicial Complex}
\usage{
\method{plot}{simplicial_complex}(x, combined = TRUE, ...)
}
\arguments{
\item{x}{A \code{simplicial_complex} object.}

\item{combined}{When \code{TRUE} (default), the four panels are stitched into
a 2x2 gtable via \code{gridExtra::arrangeGrob} and drawn. When \code{FALSE},
returns a named list of the four ggplots (\code{f_vector}, \code{betti},
\code{degree}, \code{degree_heatmap}) so each can be printed, saved, or
re-laid-out independently.}

\item{...}{Ignored.}
}
\value{
A grid grob (invisibly) when \code{combined = TRUE}; a named list of
four ggplots when \code{combined = FALSE}.
}
\description{
Produces a multi-panel summary: f-vector, simplicial degree ranking,
and degree-by-dimension heatmap.
}
\examples{
\donttest{
mat <- matrix(c(0,.6,.5,.6,0,.4,.5,.4,0), 3, 3)
colnames(mat) <- rownames(mat) <- c("A","B","C")
sc <- build_simplicial(mat, threshold = 0.3)
if (requireNamespace("gridExtra", quietly = TRUE)) plot(sc)
}

}
