Custom elements in BPMNViewer

We are using BpmnViewer to show the bpmn diagram in readonly mode.
But we use custom elements in our designs.

Able to create custom elements with Bpmn Modeller. But it is throwing errors with BpmnViewer.

Is it possible to show these custom diagrams using BpmnViewer ?
Or Use the Modeller and hide context pad and pallete is the solution

Please share a running / prototypical example that clearly shows what you’re trying to achieve, what is working and what is not.

Use our existing starter projects to quickly hack it or share your existing, partial solution on GitHub or via a CodeSandbox. Provide the necessary pointers that allow us to quickly understand where you got stuck.

This way we may be able to help you in a constructive manner.

Thanks :heart: