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

PM4Py – A Process Mining Library for Python Copyright (C) 2026 Process Intelligence Solutions GmbH

This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.

You should have received a copy of the GNU Affero General Public License along with this program. If not, see this software project’s root or visit <https://www.gnu.org/licenses/>.

Website: https://processintelligence.solutions Contact: info@processintelligence.solutions

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