Extending BPMN.IO

Hi,
I want to extend the BPMN.io schema for it to measure and display sustainability metrics like water or CO2 usage. Can you tell me the easiest way I can achieve this. Also, where can I find the open-source code version of the web modeler that allows the downloading of the diagrams?
Thanks

Can you tell me the easiest way I can achieve this

Without knowing more details, it is hard to recommend something. I would keep the data outside of the Model and use Overlays to show the information.

Also, where can I find the open-source code version of the web modeler that allows the downloading of the diagrams?

For downloading the diagram, we have a Modeler example that adds a download button. You can adjust it for your needs.

Thank you! Can you also help me where I can find the xml metamodel of bpmn ? i want to extend that metamodel in xml with the sustainability metrices.

Here’s an example of how to add custom properties to elements: bpmn-js-examples/custom-meta-model at main · bpmn-io/bpmn-js-examples · GitHub

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