camunda api auto layout functionality?

倾然丶 夕夏残阳落幕 提交于 2020-02-02 12:01:07

问题


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!


回答1:


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.



来源:https://stackoverflow.com/questions/39423377/camunda-api-auto-layout-functionality

标签
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!