R/plot.R

Defines functions plot.fc

Documented in plot.fc

#' plot method for `fc` object. It is a wrapper for the [fc_draw] function.
#'
#' @title plot.fc
#' @param x A `fc` object created using flowchart functions
#' @param ... Arguments passed to [fc_draw].
#' @export
plot.fc <- function(x, ...) {

  is_class(x, "fc")

  res <- fc_draw(x, ...)

  invisible(res)
}

Try the flowchart package in your browser

Any scripts or data that you put into this service are public.

flowchart documentation built on Nov. 26, 2025, 5:08 p.m.