pm4py.objects.dcr.importer.variants package#

Submodules#

pm4py.objects.dcr.importer.variants.xml_dcr_portal module#

pm4py.objects.dcr.importer.variants.xml_dcr_portal.apply(path, parameters=None)[source]#

Reads a DCR graph from an XML file Marquard et al. “Web-Based Modelling and Collaborative Simulation of Declarative Processes” https://doi.org/10.1007/978-3-319-23063-4_15 Parameters ———- path

Path to the XML file

parameters

Params

Returns#

dcr

DCR graph object

pm4py.objects.dcr.importer.variants.xml_dcr_portal.import_xml_tree_from_root(root, white_space_replacement=' ', as_dcr_object=True, labels_as_ids=True)[source]#
pm4py.objects.dcr.importer.variants.xml_dcr_portal.import_from_string(dcr_string, parameters=None)[source]#

pm4py.objects.dcr.importer.variants.xml_simple module#

pm4py.objects.dcr.importer.variants.xml_simple.apply(path, parameters=None)[source]#

Reads a DCR Graph from an XML file

Parameters#

path

Path to the XML file

Returns#

DCR_Graph

DCR Graph object

pm4py.objects.dcr.importer.variants.xml_simple.import_xml_tree_from_root(root, replace_whitespace=' ', **kwargs)[source]#

Transform the dictionary into a DCR_Graph object

pm4py.objects.dcr.importer.variants.xml_simple.import_from_string(dcr_string, parameters=None)[source]#

Module contents#