pm4py.vis.view_footprints#

pm4py.vis.view_footprints(footprints: Tuple[Dict[str, Any], Dict[str, Any]] | Dict[str, Any], format: str = 'png')[source]#

Views the footprints as a figure

Parameters:
  • footprints – footprints

  • format (str) –

    format of the visualization (default: png)

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