This zone focuses in particular on the analysis of the transitions to display some information in the webapp.

![Transition Analysis Zone.png](p7r0t6ppu5ps)

A [windows recipe](recipe:compute_transitions) computes the lead and lag activities for each activity within each case, along with the transition time from one activity to the next. Start activities are filtered in the [start_events](dataset:start_events) dataset by isolating all activities that don't have predecessors. These start transitions are stacked with the others to have the same format for all transitions. Finally, statistics are computed using the two grouping recipes to first compute statistics within cases and then aggregated on all cases. Min, max, average, and count are outputted and cleaned via the final prepared recipe to obtain the [transitions_frequency_share_prepared](dataset:transitions_frequency_share_prepared) dataset that will be used to display transitions information in the webapp.