View source: R/utils-geometry.R
| arrow_points | R Documentation |
Calculate Arrow Head Points
arrow_points(x, y, angle, size, width = 0.5, x_scale = 1, y_scale = 1)
x, y |
Arrow tip position. |
angle |
Angle of incoming edge (radians). |
size |
Arrow size. |
width |
Arrow width ratio (default 0.5). |
x_scale, y_scale |
Aspect ratio correction factors. |
List with arrow polygon coordinates and midpoint for line connection.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.