% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/dsm.R
\name{plot.dsm}
\alias{plot.dsm}
\title{Plot a DSM heatmap.}
\usage{
\method{plot}{dsm}(x, main = NULL, col = NULL, ...)
}
\arguments{
\item{x}{A \code{dsm} object returned by \code{\link[=parent_dsm]{parent_dsm()}} or \code{\link[=grandparent_dsm]{grandparent_dsm()}}.}

\item{main}{Optional plot title. If \code{NULL}, a default title is generated.}

\item{col}{Color palette vector. If \code{NULL}, uses \code{\link[grDevices:palettes]{grDevices::heat.colors()}}.}

\item{...}{Additional arguments passed to \code{\link[graphics:image]{graphics::image()}}.}
}
\value{
Invisibly returns \code{x}.
}
\description{
Displays the Design Structure Matrix as a heatmap where color intensity
represents the number of shared resources (parent) or risks (grandparent)
between task pairs.
}
