pm4py.objects.conversion.process_tree.variants.to_bpmn module#

class pm4py.objects.conversion.process_tree.variants.to_bpmn.Counts[source]#

Bases: object

Shared variables among executions

inc_xor_gateways()[source]#

Increase the number of xor gateways (split + join)

inc_tau_trans()[source]#

Increase the number of tau transitions

inc_para_gateways()[source]#

Increase the number of xor gateways (split + join)

append_tau(tau_id)[source]#
pm4py.objects.conversion.process_tree.variants.to_bpmn.add_task(bpmn, counts, label)[source]#

Create a task with the specified label in the BPMN

pm4py.objects.conversion.process_tree.variants.to_bpmn.add_tau_task(bpmn, counts)[source]#

Create a task with the specified label in the BPMN

pm4py.objects.conversion.process_tree.variants.to_bpmn.add_xor_gateway(bpmn, counts)[source]#
pm4py.objects.conversion.process_tree.variants.to_bpmn.add_parallel_gateway(bpmn, counts)[source]#
pm4py.objects.conversion.process_tree.variants.to_bpmn.add_inclusive_gateway(bpmn, counts)[source]#
pm4py.objects.conversion.process_tree.variants.to_bpmn.recursively_add_tree(parent_tree, tree, bpmn, initial_event, final_event, counts, rec_depth)[source]#
pm4py.objects.conversion.process_tree.variants.to_bpmn.delete_tau_transitions(bpmn, counts)[source]#
pm4py.objects.conversion.process_tree.variants.to_bpmn.apply(tree, parameters=None)[source]#

Converts the process tree into a BPMN diagram

Parameters:
  • tree – Process tree

  • parameters – Parameters of the algorithm

Returns:

BPMN diagram

Return type:

bpmn_graph