add turn between two nodes in the x-direction
turnx( from, mid_x, to, label = NULL, pos_from = NULL, pos_to = NULL, label_pos = NULL, label_gap = NULL, label_x = NULL, label_y = NULL, arr_width = NULL, name_from = deparse(substitute(from)), name_to = deparse(substitute(to)), ... )
from | start node |
---|---|
mid_x | the x co-ordinate of the mid flow |
to | the end node |
label | label to draw on the`mid flow |
pos_from | a decimal between 0 and 1 giving the position to start the
flow out of |
pos_to | a decimal between 0 and 1 giving the position to attach the
flow to node |
label_pos | a decimal between 0 and 1 giving the position along the
|
label_gap | distance from the |
label_x | x co-ordinate of |
label_y | y co-ordinate of |
arr_width | width of arrow, defaults to same as |
name_from | internal argument used for informative error messages |
name_to | internal argument used for informative error messages |
... | additional formatting arguments to |
returns the start and end points of the flow