Closed ottvahtrik closed 3 weeks ago
Dear @ottvahtrik,
Thanks for the post. The parameters available to customize the arrow are imported from the arrow()
function in the grid
package. It's true that this function has no direct option to specify to draw an arrow without an end, but you could easily achieve this by setting arrow_length = unit(0.0, "inches")
. For example, the following code will draw a filtered flowchart with no arrow end:
safo |>
as_fc(label = "Patients assessed for eligibility") |>
fc_filter(!is.na(group), label = "Randomized", show_exc = TRUE) |>
fc_draw(arrow_length = unit(0.0, "inches"))
I hope this solves your problem.
Ah thank you, that works perfectly!
Would it be possible to add an option "none" (or something similar) to param
arrow_ends
infc_draw()
if one doesn't want to have any arrow ends?