% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/splot-geometry.R
\name{cent_to_edge}
\alias{cent_to_edge}
\title{Calculate Point on Node Boundary}
\usage{
cent_to_edge(x, y, angle, cex, cex2 = NULL, shape = "circle")
}
\arguments{
\item{x}{Node center x coordinate.}

\item{y}{Node center y coordinate.}

\item{angle}{Angle in radians.}

\item{cex}{Node size (radius in user coordinates).}

\item{cex2}{Secondary size for ellipse width (NULL for square aspect).}

\item{shape}{Node shape: "circle", "square", "ellipse", or polygon name.}
}
\value{
List with x, y coordinates on boundary.
}
\description{
Given a node center, size, and angle, calculates the point on the node
boundary. Works with various shapes.
}
\keyword{internal}
