pm4py.objects.dfg.exporter package

Submodules

pm4py.objects.dfg.exporter.exporter module

class pm4py.objects.dfg.exporter.exporter.Variants(value)[source]

Bases: enum.Enum

An enumeration.

CLASSIC = <module 'pm4py.objects.dfg.exporter.variants.classic' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\objects\\dfg\\exporter\\variants\\classic.py'>
pm4py.objects.dfg.exporter.exporter.apply(dfg, output_path, variant=<Variants.CLASSIC: <module 'pm4py.objects.dfg.exporter.variants.classic' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\objects\\dfg\\exporter\\variants\\classic.py'>>, parameters=None)[source]

Exports a DFG

Parameters
  • dfg – Directly-Follows Graph

  • output_path – Output path

  • variant

    Variants of the exporter, possible values:
    • Variants.CLASSIC: exporting to a .dfg file

  • parameters – Variant-specific parameters

pm4py.objects.dfg.exporter.exporter.serialize(dfg, variant=<Variants.CLASSIC: <module 'pm4py.objects.dfg.exporter.variants.classic' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\objects\\dfg\\exporter\\variants\\classic.py'>>, parameters=None)[source]

Serializes a DFG object into a binary string

Parameters
  • dfg – DFG

  • variant

    Variants of the exporter, possible values:
    • Variants.CLASSIC: exporting to a .dfg file

  • parameters – Variant-specific parameters

Returns

String that represents the DFG

Return type

serialization

Module contents