pm4py.visualization.performance_spectrum package

Submodules

pm4py.visualization.performance_spectrum.visualizer module

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

Bases: enum.Enum

An enumeration.

NEATO = <module 'pm4py.visualization.performance_spectrum.variants.neato' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\visualization\\performance_spectrum\\variants\\neato.py'>
pm4py.visualization.performance_spectrum.visualizer.apply(perf_spectrum: Dict[str, Any], variant=<Variants.NEATO: <module 'pm4py.visualization.performance_spectrum.variants.neato' from 'C:\\Users\\berti\\FRAUNHOFER\\pm4py-core\\pm4py\\visualization\\performance_spectrum\\variants\\neato.py'>>, parameters: Optional[Dict[str, Any]] = 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

Path containing the visualization

Return type

file_path

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

Views the performance spectrum using Matplotlib

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.view(figure: str)[source]

Views the performance spectrum

Parameters

figure – Path containing the visualization

Module contents