How to add a new diagram to Camunda Modeler?

I am going to add a new diagram, Activity Diagram beyond BPMN, CMMN and DMN diagrams to the existing BPMN modeler. The base project is this open-source project.
I know I need a moddle and provider for it, but I am getting the error, - failed to parse document as <bpmn:Definitions> - when trying to import the XML for the new diagram after registering the moddle and provider to the existing BPMN modeler…
The XML is here:

<activityDiagram xmlns="http://example.com/schema/activityDiagram">
        <metrics id="metrics1"/>
        <operation id="operation1"/>
</activityDiagram>

How can I fix this issue and use the above XML in importXML function in BPMN modeler?
Thank you in advance!

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