re_measure_threshold on the short
side. Updates centers (and the complement slot on container_data)
in place with placed (x, y) plus kind, tether_x, tether_y,
leader_end_x, leader_end_y.When placement_opts is NULL, defaults to eunoia's raycast + POI
tether.
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
)the per-region tag data frame from setup_geometry()
the complement (container) region's data
the diagram's $shapes data frame
the three tag component parameter
lists, each with a $gp
placement options, or NULL for eunoia's defaults
whether the complement gets a tag too
a list of xlim/ylim to place against and widen
number of vertices used to discretize each shape
number of decimals used when rendering quantities
relative widening of the short side that triggers a second placement pass
Returns a list with centers, container_data, and limits.