Render specific BPMNDiagram


#1

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?


#2

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


#3

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

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


#4

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