arrow_points: Calculate Arrow Head Points
Description
Calculate Arrow Head Points
Usage
arrow_points(x, y, angle, size, width = 0.5, x_scale = 1, y_scale = 1)
Value
List with arrow polygon coordinates and midpoint for line connection.
Arguments
- 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.