pm4py.objects.process_tree.exporter.exporter module#
- class pm4py.objects.process_tree.exporter.exporter.Variants(*values)[source]#
Bases:
Enum- PTML = <module 'pm4py.objects.process_tree.exporter.variants.ptml' from '/Users/chris/Desktop/PIS/pm4py2/pm4py/pm4py/objects/process_tree/exporter/variants/ptml.py'>#
- pm4py.objects.process_tree.exporter.exporter.apply(tree, output_path, variant=Variants.PTML, parameters=None)[source]#
Exports the process tree to a file
- Parameters:
tree – Process tree
output_path – Output path
variant –
- Variant of the algorithm:
Variants.PTML
parameters – Parameters
- pm4py.objects.process_tree.exporter.exporter.serialize(tree, variant=Variants.PTML, parameters=None)[source]#
Serializes the process tree into a binary string
- Parameters:
tree – Process tree
variant –
- Variant of the algorithm:
Variants.PTML
parameters – Parameters
- Returns:
Serialized string
- Return type:
serialization