pm4py.vis.view_heuristics_net#
- pm4py.vis.view_heuristics_net(heu_net: HeuristicsNet, format: str = 'png', bgcolor: str = 'white')[source]#
Views an heuristics net
- Parameters:
heu_net (
HeuristicsNet
) – Heuristics netformat (
str
) – Format of the visualizationbgcolor (
str
) – Background color of the visualization (default: white)
import pm4py heu_net = pm4py.discover_heuristics_net(dataframe, activity_key='concept:name', case_id_key='case:concept:name', timestamp_key='time:timestamp') pm4py.view_heuristics_net(heu_net, format='svg')