bpmn-visualization-js icon indicating copy to clipboard operation
bpmn-visualization-js copied to clipboard

[FEAT] Support multiple stacked overlays for "variant comparison"

Open assynour opened this issue 2 years ago • 0 comments

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

In process mining, comparing multiple variants is a very common use case.

A variant refers to all the executions of the business process that share a specific feature (e.g. all executions of accepted loans, executions of the summer period, etc.).

As an analyst, I would like to be able to visualize and compare multiple variants. For example:

  • Compare the average performance of summer vs winter sales
  • Compare the average performance of standard shipping vs express shipping vs same-day delivery
  • ...

As of v0.34.1 of bpmn-visualization, it is possible to add only one overlay per element position to visualize statistics.

Describe the solution you'd like

I want to be able to stack multiple overlays on the same position. Each overlay has its own style and label for displaying the statistics computed for one variant, similarly to the visualization proposed in #2711.

Additional context

This visualization is similar to the one described in #2711 but with a more practical use case.

assynour avatar May 25 '23 10:05 assynour