pm4py.objects.dfg.exporter.variants package

Submodules

pm4py.objects.dfg.exporter.variants.classic module

This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).

PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

PM4Py 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 General Public License for more details.

You should have received a copy of the GNU General Public License along with PM4Py. If not, see <https://www.gnu.org/licenses/>.

class pm4py.objects.dfg.exporter.variants.classic.Parameters(value)[source]

Bases: enum.Enum

An enumeration.

END_ACTIVITIES = 'end_activities'
START_ACTIVITIES = 'start_activities'
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

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

Returns

Binary string

Return type

binary_string

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

Lines of the .dfg file (yielded one-by-one)

Return type

line

Module contents

This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).

PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

PM4Py 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 General Public License for more details.

You should have received a copy of the GNU General Public License along with PM4Py. If not, see <https://www.gnu.org/licenses/>.