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] Improve edge layout for incoming/outgoing edges of gateways #109

Closed tbouffard closed 2 months ago

tbouffard commented 1 year 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

tbouffard commented 2 months ago

Fixed by #128 in https://github.com/process-analytics/bpmn-layout-generators/releases/tag/v0.2.0.