processpiper icon indicating copy to clipboard operation
processpiper copied to clipboard

Difficulties in drawing generation.

Open sreekaribh opened this issue 1 year ago • 1 comments

Hello CsGoh, The Processpiper library is working only for 4 connections irrespective of the incoming and outgoing paths. In my case, I have 5 connections for the single task [B] for which it is failing to draw. Regarding this issue I made few changes in the shape.py file [shortest_source_coord.connected = False] which is drawing fine but the two tasks [E, F] are overlapping after these changes. So, kindly guide me with solution. Please refer the diagram. Screenshot 2024-04-01 164658

Thanks

sreekaribh avatar Apr 01 '24 11:04 sreekaribh

Hi @sreekaribh, the limit of 4 connection per element is by design. According to BPMN best practice, an element should be connected either left, right, top, or bottom. If you have more than 4 connections (incoming and outgoing), it is better to add another gateway element to fan out.

You can see the previously closed issue here: https://github.com/csgoh/processpiper/issues/17

Hope this helps.

csgoh avatar Apr 02 '24 19:04 csgoh

Closing the issue as there is no further response.

csgoh avatar Jun 17 '24 09:06 csgoh