I’m trying to generate the BPMN workflow programatically using camunda-bpmn-model api. However, with api, only process tags are getting generated, but not the bpmn diagram elements, like bpmn shapes and edges. So, it’s just generating the unsequenced components if I open and see it in the bpmn viewer.
I just explored the API and have come to know how to generate BPMN diagram elements using API. But would like to if there’s any way to set the dimensions and co-ordinates automatically and sequence it accordingly…
Basic support for this will be part of Camunda 7.7.0. Parts of this feature are already available in the latest alpha, 7.7.0-alpha1, see the corresponding blogpost.