split_waypoints: Split a placement's flat 'leader_waypoints_x' / _y / _lengths...

View source: R/label_placement.R

split_waypointsR Documentation

Split a placement's flat leader_waypoints_x / ⁠_y⁠ / ⁠_lengths⁠ return triple into a per-label list of list(x = ..., y = ...) coordinate pairs. Each list element has length-lengths[i] x/y vectors (often 0 — straight leaders carry no waypoints).

Description

Split a placement's flat leader_waypoints_x / ⁠_y⁠ / ⁠_lengths⁠ return triple into a per-label list of list(x = ..., y = ...) coordinate pairs. Each list element has length-lengths[i] x/y vectors (often 0 — straight leaders carry no waypoints).

Usage

split_waypoints(placements)

eulerr documentation built on May 30, 2026, 1:07 a.m.