pm4py.objects.process_tree.exporter package

Submodules

pm4py.objects.process_tree.exporter.exporter module

class pm4py.objects.process_tree.exporter.exporter.Variants(value)[source]

Bases: enum.Enum

An enumeration.

PTML = <module 'pm4py.objects.process_tree.exporter.variants.ptml' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\objects\\process_tree\\exporter\\variants\\ptml.py'>
pm4py.objects.process_tree.exporter.exporter.apply(tree, output_path, variant=<Variants.PTML: <module 'pm4py.objects.process_tree.exporter.variants.ptml' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\objects\\process_tree\\exporter\\variants\\ptml.py'>>, 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: <module 'pm4py.objects.process_tree.exporter.variants.ptml' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\objects\\process_tree\\exporter\\variants\\ptml.py'>>, 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

Module contents