Spaces:
Sleeping
Sleeping
File size: 335 Bytes
8097001 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
import pm4py
import importlib.util
def execute_script():
log = pm4py.read_xes("../tests/input_data/running-example.xes")
bpmn_model = pm4py.discover_bpmn_inductive(log)
if importlib.util.find_spec("graphviz"):
pm4py.view_bpmn(bpmn_model, variant_str="dagrejs")
if __name__ == "__main__":
execute_script()
|