#' @export
consort_line_add <- function(
.data, start = NA, start_side = NA, end = NA, end_side = NA,
start_x = NA, start_y = NA, end_x = NA, end_y = NA
) {
.data <- consort_start(.data)
.data$consort <- dplyr::bind_rows(
.data$consort,
dplyr::tibble(
name = NA, box_x = NA, box_y = NA, label = NA,
type = "line",
start = start, start_side = start_side, end = end, end_side = end_side,
start_x = start_x, start_y = start_y, end_x = end_x, end_y = end_y
)
)
.data
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.