I am pretty new to bpmn.io, however, I have succeeded in showing my BPMN diagram properly.
The only issue is that the viewer only shows my main process, and not the subprocess inside. The important thing for my customer is to see the tasks in the subprocess, so how do I show tasks in the subprocess. The only thing I see right now, is the plus marker, indicating that there is a subprocess.
When i use your online demo, i get the hover menu, where I can see the wrench, but in my own solution it does not show. I tried both the viewer and the modeler. This is my code:
var BpmnNavigatedViewer = window.BpmnJS;
var viewer = new BpmnNavigatedViewer({
container: $('.bpmn-container')
});
viewer.importXML(xml, function (err) {
if (err) {
console.log('error rendering', err);
} else {
viewer.get("canvas").zoom("fit-viewport");
$('.bpmn-container').css('height','800px');
}
});
This one is old but I currently face the same problem in the viewer: The process is rendered with collapsed sub-processes and I cannot navigate into any sub-processes. Any solutions?