pm4py.visualization.heuristics_net package

Submodules

pm4py.visualization.heuristics_net.visualizer module

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

Bases: enum.Enum

An enumeration.

PYDOTPLUS = <module 'pm4py.visualization.heuristics_net.variants.pydotplus' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\visualization\\heuristics_net\\variants\\pydotplus.py'>
pm4py.visualization.heuristics_net.visualizer.apply(heu_net, parameters=None, variant=<Variants.PYDOTPLUS: <module 'pm4py.visualization.heuristics_net.variants.pydotplus' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\visualization\\heuristics_net\\variants\\pydotplus.py'>>)[source]

Gets a representation of an Heuristics Net

Parameters
  • heu_net – Heuristics net

  • parameters

    Possible parameters of the algorithm, including:
    • Parameters.FORMAT

  • variant

    Variant of the algorithm to use:
    • Variants.PYDOTPLUS

Returns

Representation of the Heuristics Net

Return type

gviz

pm4py.visualization.heuristics_net.visualizer.matplotlib_view(figure)[source]

Views the figure using Matplotlib

Parameters

figure – Figure

pm4py.visualization.heuristics_net.visualizer.save(figure, output_file_path)[source]

Save a figure that has been rendered

Parameters
  • figure – figure

  • output_file_path – Path where the figure should be saved

pm4py.visualization.heuristics_net.visualizer.serialize(figure: tempfile._TemporaryFileWrapper) → bytes[source]

Serialize a figure that has been rendered

Parameters

figure – figure

pm4py.visualization.heuristics_net.visualizer.view(figure)[source]

View on the screen a figure that has been rendered

Parameters

figure – figure

Module contents