pm4py.visualization.network_analysis.variants package

Submodules

pm4py.visualization.network_analysis.variants.frequency module

This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).

PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

PM4Py 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 General Public License for more details.

You should have received a copy of the GNU General Public License along with PM4Py. If not, see <https://www.gnu.org/licenses/>.

class pm4py.visualization.network_analysis.variants.frequency.Parameters(value)[source]

Bases: enum.Enum

An enumeration.

ACTIVITY_THRESHOLD = 'activity_threshold'
BGCOLOR = 'bgcolor'
EDGE_THRESHOLD = 'edge_threshold'
FORMAT = 'format'
pm4py.visualization.network_analysis.variants.frequency.apply(network_analysis_edges: Dict[Tuple[str, str], Dict[str, int]], parameters: Optional[Dict[Any, Any]] = None) graphviz.graphs.Digraph[source]

Creates a visualization of the network analysis

Parameters
  • network_analysis_edges – Edges of the network analysis

  • parameters – Parameters of the algorithm, including: - Parameters.FORMAT => the format of the visualization - Parameters.BGCOLOR => the background color - Parameters.ACTIVITY_THRESHOLD => the minimum number of occurrences for an activity to be included (default: 1) - Parameters.EDGE_THRESHOLD => the minimum number of occurrences for an edge to be included (default: 1)

Returns

Graphviz graph

Return type

digraph

pm4py.visualization.network_analysis.variants.performance module

This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).

PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

PM4Py 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 General Public License for more details.

You should have received a copy of the GNU General Public License along with PM4Py. If not, see <https://www.gnu.org/licenses/>.

class pm4py.visualization.network_analysis.variants.performance.Parameters(value)[source]

Bases: enum.Enum

An enumeration.

ACTIVITY_THRESHOLD = 'activity_threshold'
AGGREGATION_MEASURE = 'aggregation_measure'
BGCOLOR = 'bgcolor'
EDGE_THRESHOLD = 'edge_threshold'
FORMAT = 'format'
pm4py.visualization.network_analysis.variants.performance.apply(network_analysis_edges0: Dict[Tuple[str, str], Dict[str, Any]], parameters: Optional[Dict[Any, Any]] = None) graphviz.graphs.Digraph[source]

Creates a visualization of the network analysis (performance view)

Parameters
  • network_analysis_edges0 – Edges of the network analysis

  • parameters – Parameters of the algorithm, including: - Parameters.FORMAT => the format of the visualization - Parameters.BGCOLOR => the background color - Parameters.ACTIVITY_THRESHOLD => the minimum number of occurrences for an activity to be included (default: 1) - Parameters.EDGE_THRESHOLD => the minimum number of occurrences for an edge to be included (default: 1) - Parameters.AGGREGATION_MEASURE => the aggregation measure (default: mean)

Returns

Graphviz graph

Return type

digraph

Module contents

This file is part of PM4Py (More Info: https://pm4py.fit.fraunhofer.de).

PM4Py is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

PM4Py 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 General Public License for more details.

You should have received a copy of the GNU General Public License along with PM4Py. If not, see <https://www.gnu.org/licenses/>.