process-analytics / bpmn-visualization-js

A TypeScript library for visualizing process execution data on BPMN diagrams
https://process-analytics.github.io/bpmn-visualization-js/
Apache License 2.0
216 stars 29 forks source link

[FEAT] support multiple stacked overlays for displaying timing #2711

Open Andrii-Deiak opened 1 year ago

Andrii-Deiak commented 1 year ago

Is your feature request related to a problem? Please describe.

Support multiple stacked overlays for displaying timing. We have a cases when BPMN process executed 2-3-n times, so make sense to display timing for each execution.

Describe the solution you'd like Show on top of BPMN element stacked overlays with possibility to provide timing:

image

csouchet commented 1 year ago

@Andrii-Deiak Thank you for submitting this feature request. We appreciate your suggestion to support multiple stacked overlays for displaying timing in BPMN processes.

We understand the importance of being able to visualize the timing for each execution, especially in cases where the BPMN process is executed multiple times. We will take the time to thoroughly investigate the feasibility and assess the need for this feature.

Our development team will carefully evaluate the requirements and consider the technical aspects involved in implementing this enhancement. We want to ensure that any solution we provide is efficient, effective, and in line with the overall goals of the project.

Thank you for bringing this idea to our attention, and we will keep you updated on our progress as we continue to analyze the feasibility and gather more information. If you have any additional details or specific requirements related to this feature, please feel free to share them with us.

csouchet commented 1 year ago

In the meantime, it is possible to add pop-ups on each element of the diagram by putting any information you consider important: https://cdn.statically.io/gh/process-analytics/bpmn-visualization-examples/master/examples/custom-behavior/javascript-tooltip-and-popover/index.html

assynour commented 1 year ago

Thank you @Andrii-Deiak for submitting your request. Your visualization inspired me for a well-known process mining use case (see #2712).

Regarding the use case you described, I think it may become impractical to apply it directly in real-life scenarios, considering that process executions typically number in the hundreds or thousands. In our demo, we focus on visualizing the average time of each activity across all executions. However, if you incorporate your use case within the concept of "variants" as explained in #2712, it will result in a more practical feature.