% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/splot-params.R
\name{compute_plot_limits}
\alias{compute_plot_limits}
\title{Compute Plot Limits}
\usage{
compute_plot_limits(
  layout_mat,
  vsize_usr,
  layout_margin,
  edges,
  n_edges,
  loop_rotations
)
}
\arguments{
\item{layout_mat}{Two-column layout matrix.}

\item{vsize_usr}{Node radii in user coordinates.}

\item{layout_margin}{Fractional margin padding.}

\item{edges}{Edge data frame.}

\item{n_edges}{Number of edges.}

\item{loop_rotations}{Per-edge loop rotation angles.}
}
\value{
List with \code{xlim} and \code{ylim}.
}
\description{
Calculates xlim/ylim accounting for node radii, self-loop extents,
and layout margin padding.
}
\keyword{internal}
