I want to add popups to some elements on my diagram, for that I’m trying to retrive the diagram.js PopUpMenu library by doing:
var BpmnViewer = window.BpmnJS;
var viewer = new BpmnViewer({ container: ‘#canvas’ });
var popupMenu = viewer.get(‘popUpMenu’)
But the last line fails with: ‘injector.js:15 Uncaught Error: No provider for “popUpMenu”! (Resolving: popUpMenu)’
Shouldn’t this be the way to add popups??