mirror of
https://github.com/sartography/bpmn-js.git
synced 2025-02-11 00:16:24 +00:00
This was removed in f8f9334, but it occurred that the method is used productively by some of the clients. This commit restores the method as part of public API. Use `Viewer#importDefinitions` to import previously parsed definitions. Now it is also possible to pass the diagram or diagram id to be rendered during graphical import.