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