process-analytics / bpmn-layout-generators

Tools for generating missing BPMNDiagram elements in BPMN files
Apache License 2.0
37 stars 6 forks source link

[FEAT] Ensure edges don't overlap shapes #110

Open tbouffard opened 1 year ago

tbouffard commented 1 year ago

Is your feature request related to a problem? Please describe. In some complex layout, the edges overlap the shapes, which makes the diagram hard to read.

Example with the "Repair Example" generated after performing Process Discovery. repairExample

Describe the solution you'd like Find a way to ensure that edges don't overlap edges.

58 may help.

NourEldin-Ali commented 2 months ago

I found some issues with the overlap; perhaps this example can help you during the testing of your solution. The following table illustrates the BPMN generated by this tool and what I would prefer as a result (though other solutions could be acceptable as well).

ID Layout using this tool Preferred Solution
M1 image image
M4 image image
S1 image image
S2 image image
S7 image image
S8 image image

You can find all the BPMN files of the model here. The file names are listed by ID in the table below. bpmn_model.zip

Note: the screenshots were done with bpmn-layout-generators v0.1.4. Some improvements are available in v0.2.0, but don't cover everything. See https://github.com/process-analytics/bpmn-layout-generators/releases/tag/v0.2.0