| shorten_edge_for_arrow | R Documentation |
Calculates where to stop drawing an edge line so the arrow head doesn't overlap with the line.
shorten_edge_for_arrow(x1, y1, x2, y2, arrow_size)
x1, y1 |
Start point. |
x2, y2 |
End point (arrow tip). |
arrow_size |
Arrow size. |
List with x, y coordinates of shortened endpoint.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.