depth {understandBPMN} | R Documentation |
Depth
Description
Depth is defined as the the nesting of the process model. If there is a split gateway, the depth is increased with one. If there is a join gateway, the depth is decreased with one. The cumulative sum is taken and the maximum of the cumulative sum is calculated for each path. The nesting depth is the maximum of each path value
Usage
depth(file_path, signavio = FALSE, path_log_already_created = FALSE,
generate_new_path_log = FALSE, time_to_generate_path_log = 1500)
Arguments
file_path |
document object created using the create_internal_document function |
signavio |
boolean which indicates whether the file stems from signavio |
path_log_already_created |
boolean which indicates whether the path log has already been created before or not. When you are not sure, it is best to use the standard which is false |
generate_new_path_log |
used when it is not possible to save the path log such as with the Rapid miner or in unit tests and examples |
time_to_generate_path_log |
time which is the maximum time to generate a new path log in seconds. The standard setting is 1500 seconds. |
Value
an integer indicating the depth
Examples
depth(file_path, generate_new_path_log = TRUE)