pm4py.vis.save_vis_heuristics_net#

pm4py.vis.save_vis_heuristics_net(heu_net: HeuristicsNet, file_path: str, bgcolor: str = 'white', **kwargs)[source]#

Saves the visualization of an heuristics net

Parameters:
  • heu_net (HeuristicsNet) – Heuristics net

  • file_path (str) – Destination path

  • bgcolor (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.save_vis_heuristics_net(heu_net, 'heu.png')