Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

camunda api auto layout functionality?

Tags:

bpmn

camunda

I am using the Camunda BPMN-Model API for generating bpmn 2.0-xml files. However, I can't find a auto-layout functionality in it to create the BPMN-DI information automatically. I know that it's possible to create the rendering components by manually importing to the Camunda modeler, but I am trying to do so automatically. Activity and Yaoqiang seem to implement such a function. Is there any algorithm based on the Camunda model api?

There is also a try for the Camunda modeler, but it's probably not what I'm looking for.

Thanks for your help!

like image 468
pinussilvestrus Avatar asked Dec 06 '25 21:12

pinussilvestrus


1 Answers

On the last hack days Chris developed a working auto-layout in Javascript: https://github.com/bpmn-io/bpmn-moddle-auto-layout. I would recommend to give it a try.

Update:

Auto-layouting is now part of the core model API in Java. Hence DI is now automatically created for you. Best try it with the latest Camunda version.

like image 54
Bernd Ruecker Avatar answered Dec 11 '25 04:12

Bernd Ruecker



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!