Character denoting the direction of the arrow. Should be one
of “up”, “up-right”, “right”, “down-right”, “down”, “down-left”, “left”,
“up-left”, “up-down”, or “left-right”.
Details
This function is vectorized. Wrong input of direction will result in NAs.