Closed tbouffard closed 3 years ago
Evolution of the edge rendering from the previous implementation to the new one
Notice that the files were generated prior rebasing the branch of this PR to master (originated from 9139bed0)
The diagram now looks like this. There is an inversion of split gateways but this has no impact on the waypoints
The new BPMN diagram used in test was invalid: there was a gateway which is both a merge and a split. This made me think that a extra paths were required for the edges. I had first implemented outgoing edges that always started with a short horizontal line, then do a polyline to the target element. This was to ensure there is no overlap with incoming edges.
The test diagram has been updated and looks like the following when passing to bpmn-layout-generator
with the extra polyline.
I have simplified the edges from split gateways and the layout is now generated as in the following.
⚠️ Not working with a split gateway followed by split gateways like in the following --> #72 should manage it
Ensure use of the bottom edge of the gateway In particular,