pm4py.write.write_dcr_xml#

pm4py.write.write_dcr_xml(dcr_graph, path, variant, dcr_title, replace_whitespace=None)[source]#

Writes a DCR graph object to disk in the .xml file format (exported as .xml file). :param dcr: DCR graph object :param path: target file path to the XML file :param variant: variant of the DCR graph :param dcr_title: title of the DCR graph :param replace_whitespace: optional replacement for the white space character .. code-block:: python3

import pm4py pm4py.write_dcr_xml(dcr, ‘<path_to_export_to>’, variant, ‘<dcr_title.xml>’)