bpmn-visualization-examples
bpmn-visualization-examples copied to clipboard
Clean the list of BPMN diagrams stored in this repository
Originally, we created several BPMN Diagrams mainly to manually test the bpmn-visualization
lib. Then, we introduced automatic visual tests and we don't use diagrams in the example repository for testing.
We have duplicated diagrams in the two repositories and the screenshots are no more up-to-date in the example repository.
Tasks
- [ ] decide what we expect from the diagrams in the examples repository: illustration, complex use case, other ?
- [ ] introduce large and complex diagram to test performance? they may be located in the lib repository instead
- [ ] we currently have diagrams involving a single type of BPMN elements. Is it what we want here?
- [ ] remove diagrams fully available in the test of bpmn-visualization
- [ ] update screenshots for kept diagrams
Candidates to keep
- we have a diagram including artifacts that we currently not support (data input/output with markers for instance). It should include text annotation and bi directional associations. The other diagram is very similar to the lib test diagram so it could be removed.
- the 2 diagrams including sub-process look interesting. They demonstrate pools, inner sub-processes and inner lanes. They are quite large
- sub-processes:
- prepare adhoc and transaction sub-processes
- we could also reproduce the example used in the BPMN specification for sub-processes. You can see a screenshot in https://github.com/process-analytics/bpmn-visualization-js/issues/647 for "transaction". See "Figure 10.32 – An example that includes Event Sub-Processes" and "Figure 10.38 – An Ad-Hoc Sub-Process with data and sequence dependencies"
- activities: we don't have a single diagrams for all activities
Candidates for removal
- Pools: to be included in a more complex diagram
- events: already covered by lib tests
- Gateways: same as events
- Flows: same as events