# Extending BPMN.IO

**URL:** <https://forum.bpmn.io/t/extending-bpmn-io/11168>\
**Category:** Developers\
**Created:** [June 11, 2024, 3:56pm UTC](https://forum.bpmn.io/t/extending-bpmn-io/11168 "2024-06-11T15:56:15Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![idiloks](https://forum.bpmn.io/letter_avatar_proxy/v4/letter/i/b77776/32.png) [@idiloks](https://forum.bpmn.io/u/idiloks)\
**Post date:** [June 11, 2024, 3:56pm UTC](https://forum.bpmn.io/t/extending-bpmn-io/11168/1 "2024-06-11T15:56:15Z")

</div>

Hi,  
I want to extend the [BPMN.io](http://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

---

<div class="post-metadata">

**Author:** ![Martin](https://forum.bpmn.io/letter_avatar_proxy/v4/letter/m/73ab20/32.png) [@Martin](https://forum.bpmn.io/u/Martin)\
**Post date:** [June 12, 2024, 8:00am UTC](https://forum.bpmn.io/t/extending-bpmn-io/11168/2 "2024-06-12T08:00:04Z")

</div>

> 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](https://github.com/bpmn-io/bpmn-js-examples/tree/main/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](https://github.com/bpmn-io/bpmn-js-examples/tree/main/modeler) that adds a download button. You can adjust it for your needs.

---

<div class="post-metadata">

**Author:** ![idiloks](https://forum.bpmn.io/letter_avatar_proxy/v4/letter/i/b77776/32.png) [@idiloks](https://forum.bpmn.io/u/idiloks)\
**Post date:** [July 3, 2024, 6:23pm UTC](https://forum.bpmn.io/t/extending-bpmn-io/11168/3 "2024-07-03T18:23:20Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![philippfromme](https://forum.bpmn.io/user_avatar/forum.bpmn.io/philippfromme/32/2803_2.png) [@philippfromme](https://forum.bpmn.io/u/philippfromme)\
**Post date:** [July 9, 2024, 8:50am UTC](https://forum.bpmn.io/t/extending-bpmn-io/11168/4 "2024-07-09T08:50:18Z")

</div>

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](https://github.com/bpmn-io/bpmn-js-examples/tree/main/custom-meta-model)

---

<div class="post-metadata">

**Author:** ![system](https://forum.bpmn.io/uploads/default/original/2X/b/b534893973385c2d302b38572464112e4adae002.png) [@system](https://forum.bpmn.io/u/system)\
**Post date:** [July 16, 2024, 8:51am UTC](https://forum.bpmn.io/t/extending-bpmn-io/11168/5 "2024-07-16T08:51:00Z")

</div>

Closed on July 16, 2024, 8:51am UTC

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