pm4py / pm4py-core

Public repository for the PM4Py (Process Mining for Python) project.
https://pm4py.fit.fraunhofer.de
GNU General Public License v3.0
722 stars 286 forks source link

Durations for DFG based on prior events #448

Closed william-vw closed 1 year ago

william-vw commented 1 year ago

When passing Variants.PERFORMANCE as variant parameter to the pm4py.visualization.dfg.visualizer, it seems that a start timestamp (start_timestamp) is expected for each event; the regular timestamp will be considered the "complete" timestamp (performance.py, which relies on get.py).

Is there a way to instead calculate the duration as the difference between the "regular" timestamp of the current and prior events?

william-vw commented 1 year ago

Sorry, it looks like I should have been looking at the DFG discovery algorithm instead :-)