Render specific BPMNDiagram

I am using a bpmn modeler (not camunda modeler) that is capable to build and maintain multiple processes/collaborations per project.

When I export the project to XML format, all processess/collaborations are exported inside the XML (this is allowed by the standard). Multiple BPMNDiagram tags are present the XML.

The problem is that bpmnjs renders only the first BPMNDiagram as default.

Is it possible to select the BPMNDiagram to render?

It is not possible to choose which diagram you want to render. bpmn-js will always import the first diagram.

I modified and submitted a pull request to add support for rendering specific diagrams

https://github.com/bpmn-io/bpmn-js/issues/87

2 Likes

Thank you, we’ll have a look at it.

1 Like