Open DorotaDR opened 4 years ago
I had the same problem and fixed it the same way!
Moreover, I think that all gateways should also be considered as a diamond shape (line 84):
elif node[1].get(consts.Consts.type) in [consts.Consts.complex_gateway, consts.Consts.event_based_gateway, consts.Consts.inclusive_gateway, consts.Consts.exclusive_gateway, consts.Consts.parallel_gateway]:
I found (and solve in the PR) an issue with converting bpmn graph to png - direction of edges weren't based on
incomming
andoutcomming
ids (described in node's details), but based on order of adding nodes.Example:
Result of the code above:
with corrected function
bpmn_diagram_to_png()
result of the same code looks:I hope the change will help others student like me to use the package in their project of developing process mining for bussiness processes.
Best regards,