% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/label_placement.R
\name{apply_label_placement}
\alias{apply_label_placement}
\title{Run eunoia label placement, expanding limits so exterior labels are
not clipped. Drives one initial pass plus one re-measure pass when
the limits widened by more than \code{re_measure_threshold} on the short
side. Updates \code{centers} (and the complement slot on \code{container_data})
in place with placed \verb{(x, y)} plus \code{kind}, \code{tether_x}, \code{tether_y},
\code{leader_end_x}, \code{leader_end_y}.}
\usage{
apply_label_placement(
  centers,
  container_data,
  shapes,
  labels,
  quantities,
  annotations = NULL,
  placement_opts = NULL,
  do_complement_label = FALSE,
  limits,
  n_vertices,
  label_precision,
  re_measure_threshold = 0.01
)
}
\description{
When \code{placement_opts} is \code{NULL}, defaults to eunoia's raycast + POI
tether.
}
\details{
Returns a list with \code{centers}, \code{container_data}, and \code{limits}.
}
\keyword{internal}
