Hi,
I want to design a business process diagram in BPMN 2.0 using Javascript. Does BPMN.io have some sort of API that I can call to create BPMN elements and connections, setting their position and, at the end, generate a BPMN 2.0 XML?
Thanks in advance,
Diogo Cardoso
Hi,
is the bpmn-js command line interface an option for you?
You can check it out here: https://github.com/bpmn-io/bpmn-js-cli
Yes, that looks very nice. However, I am only able to use the CLI in the web browser console. How can I use it inside my own JS code?
Thanks.
Have a look at the unit tests for modeling. They serve as documentation, too.