pm4py.objects.dfg.exporter.variants package#
PM4Py – A Process Mining Library for Python
Copyright (C) 2024 Process Intelligence Solutions UG (haftungsbeschränkt)
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see this software project’s root or visit <https://www.gnu.org/licenses/>.
Website: https://processintelligence.solutions Contact: info@processintelligence.solutions
Submodules#
pm4py.objects.dfg.exporter.variants.classic module#
PM4Py – A Process Mining Library for Python
Copyright (C) 2024 Process Intelligence Solutions UG (haftungsbeschränkt)
This program is free software: you can redistribute it and/or modify it under the terms of the GNU Affero General Public License as published by the Free Software Foundation, either version 3 of the License, or any later version.
This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License along with this program. If not, see this software project’s root or visit <https://www.gnu.org/licenses/>.
Website: https://processintelligence.solutions Contact: info@processintelligence.solutions
- class pm4py.objects.dfg.exporter.variants.classic.Parameters(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]#
Bases:
Enum
- START_ACTIVITIES = 'start_activities'#
- END_ACTIVITIES = 'end_activities'#
- ENCODING = 'encoding'#
- pm4py.objects.dfg.exporter.variants.classic.export_line_by_line(dfg, parameters=None)[source]#
Exports a DFG into the .dfg format - Line by line yielding
Parameters#
- dfg
DFG
- parameters
Parameters of the algorithm
Returns#
- line
Lines of the .dfg file (yielded one-by-one)
- pm4py.objects.dfg.exporter.variants.classic.apply(dfg, output_path, parameters=None)[source]#
Exports a DFG into a .dfg file
Parameters#
- dfg
Directly-Follows Graph
- output_path
Output path
- parameters
- Parameters of the algorithm, including:
Parameters.START_ACTIVITIES => Start activities of the DFG Parameters.END_ACTIVITIES => End activities of the DFG Parameters.ENCODING => The encoding to be used (default: utf-8)
- pm4py.objects.dfg.exporter.variants.classic.export_as_string(dfg, parameters=None)[source]#
Exports a DFG as a string
Parameters#
- dfg
Directly-Follows Graph
- parameters
- Parameters of the algorithm, including:
Parameters.START_ACTIVITIES => Start activities of the DFG Parameters.END_ACTIVITIES => End activities of the DFG Parameters.ENCODING => The encoding to be used (default: utf-8)
Returns#
- binary_string
Binary string