pm4py.visualization.align_table package

Submodules

pm4py.visualization.align_table.visualizer module

class pm4py.visualization.align_table.visualizer.Variants(value)[source]

Bases: enum.Enum

An enumeration.

CLASSIC = <module 'pm4py.visualization.align_table.variants.classic' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\visualization\\align_table\\variants\\classic.py'>
pm4py.visualization.align_table.visualizer.apply(log, aligned_traces, variant=<Variants.CLASSIC: <module 'pm4py.visualization.align_table.variants.classic' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\visualization\\align_table\\variants\\classic.py'>>, parameters=None)[source]

Gets the alignment table visualization from the alignments output

Parameters
  • log – Event log

  • aligned_traces – Aligned traces

  • variant

    Variant of the algorithm to apply, possible values:
    • Variants.CLASSIC

  • parameters – Parameters of the algorithm

Returns

Graphviz object

Return type

gviz

pm4py.visualization.align_table.visualizer.matplotlib_view(gviz)[source]

Views the diagram using Matplotlib

Parameters

gviz – Graphviz

pm4py.visualization.align_table.visualizer.save(gviz, output_file_path)[source]

Save the diagram

Parameters
  • gviz – GraphViz diagram

  • output_file_path – Path where the GraphViz output should be saved

pm4py.visualization.align_table.visualizer.view(gviz)[source]

View the diagram

Parameters

gviz – GraphViz diagram

Module contents