I am trying to create a BPMN diagram using Jaxb. Created diagram successfully but there are some conditions with gateway, and these sequence flow names are appearing one by one. Is there any chance can I make them appear at the end of the arrow or before the task?
Generally, we can not automatically fix broken diagrams coming from somewhere (e.g. a Jaxb generator). I’d whether try to fix it where the XML got created.
We have provide APIs to move elements to a given position. You could move those labels after import if you can find out the correct positions.
Well, if your layout is completely broken or really crammed with lots of overlaps there is only so much we can fix. You’d need to generate a better layout to begin with.