add bend between two nodes, in direction y then x

bendy(
  from,
  to,
  label_from = NULL,
  label_to = NULL,
  pos_from = NULL,
  pos_to = NULL,
  label_from_pos = NULL,
  label_to_pos = NULL,
  label_from_gap = NULL,
  label_to_gap = NULL,
  label_from_x = NULL,
  label_to_x = NULL,
  label_from_y = NULL,
  label_to_y = NULL,
  arr_width = NULL,
  name_from = deparse(substitute(from)),
  name_to = deparse(substitute(to)),
  ...
)

Arguments

from

start node

to

end node

label_from

label to draw on the flow out of from

label_to

label to draw on the flow into to

pos_from

a decimal between 0 and 1 giving the position to start the flow out of from, where 0 = left and 1 = right

pos_to

a decimal between 0 and 1 giving the position to attach the flow to node to, where 0 = bottom and 1 = top

label_from_pos

a decimal between 0 and 1 giving the position along the flow out of from to draw label_from, where 0 = start and 1 = end

label_to_pos

a decimal between 0 and 1 giving the position along the flow into to to draw label_to, where 0 = start and 1 = end

label_from_gap

distance from the flow out of from at which to draw label_from default = 0.05

label_to_gap

distance from the flow into to at which to draw label_to default = 0.05

label_from_x

x co-ordinate of label_from position, overrides use of label_from_pos and / or label_from_gap

label_to_x

x co-ordinate of label_to position, overrides use of label_to_pos and / or label_to_gap

label_from_y

y co-ordinate of label_from position, overrides use of label_from_pos and / or label_from_gap

label_to_y

y co-ordinate of label_to position, overrides use of label_to_pos and / or label_to_gap

arr_width

width of arrow, defaults to same as flow()

name_from

internal argument used for informative error messages

name_to

internal argument used for informative error messages

...

additional formatting arguments to flow()

Value

returns the start and end points of the flow