R/get_meta_data.R

Defines functions get_flows get_activities

Documented in get_activities get_flows

#' Get data values for activities and flows from process map
#'
#' @param process_map An object created using process_map function. Can both be a rendered or not rendered object.
#'
#' @export
#'
#'
get_activities <- function(process_map) {
	attr(process_map, "nodes")
}
#' @rdname get_activities
#' @export
get_flows <- function(process_map) {
	attr(process_map, "edges")
}

Try the processmapR package in your browser

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

processmapR documentation built on Sept. 11, 2024, 8:08 p.m.