pm4py.vis.save_vis_footprints#

pm4py.vis.save_vis_footprints(footprints: Tuple[Dict[str, Any], Dict[str, Any]] | Dict[str, Any], file_path: str, **kwargs)[source]#

Saves the footprints’ visualization on disk

Parameters:
  • footprints – footprints

  • file_path (str) –

    target path of the visualization

    import pm4py
    
    log = pm4py.read_xes('tests/input_data/running-example.xes')
    fp_log = pm4py.discover_footprints(log)
    pm4py.save_vis_footprints(fp_log, 'output.svg')