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

Bases: Enum

NEATO = <module 'pm4py.visualization.performance_spectrum.variants.neato' from 'C:\\Users\\berti\\pm4py-core\\pm4py\\visualization\\performance_spectrum\\variants\\neato.py'>#
pm4py.visualization.performance_spectrum.visualizer.apply(perf_spectrum: Dict[str, Any], variant=Variants.NEATO, parameters: Dict[Any, Any] | None = None) str[source]#

Construct the performance spectrum visualization

Parameters#

perf_spectrum

Performance spectrum

variant

Variant of the visualization to use: - NEATO: using the Graphviz Neato layouter

parameters

Variant-specific parameters

Returns#

file_path

Path containing the visualization

pm4py.visualization.performance_spectrum.visualizer.view(figure: str)[source]#

Views the performance spectrum

Parameters#

figure

Path containing the visualization

pm4py.visualization.performance_spectrum.visualizer.save(figure: str, output_file_path: str)[source]#

Saves the performance spectrum at the specified path

Parameters#

figure

Path containing the visualization

output_file_path

Path into which the image should be saved

pm4py.visualization.performance_spectrum.visualizer.serialize(figure: str)[source]#

Serializes the performance spectrum visualization

Parameters#

figure

Path containing the visualization

pm4py.visualization.performance_spectrum.visualizer.matplotlib_view(figure: str)[source]#

Views the performance spectrum using Matplotlib

Parameters#

figure

Path containing the visualization