Using the saveSVG function in DMN

Fairly simple question - I’m implementing a DMN modeler alongside our existing BPMN one, and I’m trying to keep things as similar as possible. Is there a way to use the saveSVG() function anywhere for the DRD? Or is there an alternative?

Saving SVG is only supported in the DMN DRD editor:

const result = await dmnJS.getActiveViewer().saveSVG(...);

Thank you! I was using getActiveView() instead of getActiveViewer(), whoops. What’s the difference between those two?

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.