pm4py.objects.dcr.exporter.variants package#
Submodules#
pm4py.objects.dcr.exporter.variants.dcr_js_portal module#
- pm4py.objects.dcr.exporter.variants.dcr_js_portal.export_dcr_xml(graph, output_file_name, dcr_title='DCR from pm4py', replace_whitespace=' ')[source]#
Writes a DCR graph object to disk in the
.xml
file format (exported as.xml
file). The file is to be visualised using the following link: https://hugoalopez-dtu.github.io/dcr-js/ Tamo et al. “An Open-Source Modeling Editor for Declarative Process Models” https://ceur-ws.org/Vol-3552/paper-5.pdf Parameters ———– dcrthe DCR graph
- output_file_name
dcrxml file name
- dcr_title
title of the DCR graph
- replace_whitespace
replace any white space characters with a character of your choice
pm4py.objects.dcr.exporter.variants.xml_dcr_portal module#
- pm4py.objects.dcr.exporter.variants.xml_dcr_portal.export_dcr_xml(graph: DcrGraph, output_file_name, dcr_title='DCR from pm4py', **parameters)[source]#
Writes a DCR graph object to disk in the
.xml
file format (exported as.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 ———– dcrthe DCR graph
- output_file_name
dcrxml file name
- dcr_title
title of the DCR graph
pm4py.objects.dcr.exporter.variants.xml_simple module#
- pm4py.objects.dcr.exporter.variants.xml_simple.export_dcr_graph(graph: DcrGraph, root, parents_dict=None, replace_whitespace=' ', time_precision='H')[source]#
Parameters#
dcr root parents_dict replace_whitespace time_precision: valid values are D H M S
Returns#
- pm4py.objects.dcr.exporter.variants.xml_simple.export_dcr_xml(graph: DcrGraph, output_file_name, dcr_title='DCR from pm4py', dcr_description=None, replace_whitespace=' ')[source]#
Writes a DCR graph object to disk in the
.xml
file format (exported as.xml
file). The file can be imported and visualised in the DCR solutions portal (https://dcrgraphs.net/)Parameters#
- dcr
the DCR graph
- output_file_name
dcrxml file name
- dcr_title
title of the DCR graph
- dcr_description
description of the DCR graph
- replace_whitespace
a character to replace white space