process-analytics / bpmn-layout-generators

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

[FEAT] Improve edge layout for incoming/outgoing edges of gateways #109

Open tbouffard opened 11 months ago

tbouffard commented 11 months ago

Is your feature request related to a problem? Please describe. With v1.0.2, outgoing edges of a gateways overlap incoming edges.

Examples generated with https://github.com/process-analytics/bpmn-visualization-pm4py:

layout-process-analytics image

Describe the solution you'd like For gateway, the layout of outgoing edges could always start with an horizontal line, then when needed to top or bottom then horizontal lines.

Example with diagram.bpmn.txt:

current proposal
01_current 02_proposal

Describe alternatives you've considered

58 may help

Additional context This is the solution that is used by https://github.com/bpmn-io/bpmn-auto-layout They apply the same to incoming edges of gateways as well