pm4py.visualization.heuristics_net 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

Subpackages#

Submodules#

pm4py.visualization.heuristics_net.visualizer 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.visualization.heuristics_net.visualizer.Variants(value, names=<not given>, *values, module=None, qualname=None, type=None, start=1, boundary=None)[source]#

Bases: Enum

PYDOTPLUS = <module 'pm4py.visualization.heuristics_net.variants.pydotplus_vis' from 'C:\\Users\\berti\\pm4py-core\\pm4py\\visualization\\heuristics_net\\variants\\pydotplus_vis.py'>#
pm4py.visualization.heuristics_net.visualizer.apply(heu_net: HeuristicsNet, parameters: Dict[Any, Any] | None = None, variant=Variants.PYDOTPLUS) str[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#

gviz

Representation of the Heuristics Net

pm4py.visualization.heuristics_net.visualizer.get_graph(heu_net: HeuristicsNet, parameters: Dict[Any, Any] | None = None, variant=Variants.PYDOTPLUS) Dot[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#

graph

Pydotplus graph

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

View on the screen a figure that has been rendered

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: _TemporaryFileWrapper) bytes[source]#

Serialize a figure that has been rendered

Parameters#

figure

figure

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

Views the figure using Matplotlib

Parameters#

figure

Figure