pm4py.objects.process_tree.importer.variants package

Submodules

pm4py.objects.process_tree.importer.variants.ptml module

pm4py.objects.process_tree.importer.variants.ptml.apply(path, parameters=None)[source]

Imports a PTML file from the specified path

Parameters
  • path – Path

  • parameters – Possible parameters

Returns

Process tree

Return type

tree

pm4py.objects.process_tree.importer.variants.ptml.import_tree_from_string(tree_string, parameters=None)[source]

Imports a PTML file from a (binary) string

Parameters
  • tree_string – String representing the process tree

  • parameters – Possible parameters

Returns

Process tree

Return type

tree

pm4py.objects.process_tree.importer.variants.ptml.import_tree_from_xml_object(root, parameters=None)[source]

Imports a process tree from the XML object

Parameters
  • root – Root of the XML object

  • parameters – Possible parameters

Returns

Process tree

Return type

tree

Module contents