pm4py.visualization.network_analysis.variants.performance module#
- class pm4py.visualization.network_analysis.variants.performance.Parameters(*values)[source]#
Bases:
Enum- FORMAT = 'format'#
- BGCOLOR = 'bgcolor'#
- ACTIVITY_THRESHOLD = 'activity_threshold'#
- EDGE_THRESHOLD = 'edge_threshold'#
- AGGREGATION_MEASURE = 'aggregation_measure'#
- ENABLE_GRAPH_TITLE = 'enable_graph_title'#
- GRAPH_TITLE = 'graph_title'#
- pm4py.visualization.network_analysis.variants.performance.apply(network_analysis_edges0: Dict[Tuple[str, str], Dict[str, Any]], parameters: Dict[Any, Any] | None = None) 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