bpmn-io / dmn-js

View and edit DMN diagrams in the browser.
https://bpmn.io/toolkit/dmn-js/
Other
288 stars 137 forks source link

feat(drd): add `Modeling#updateModdleProperties` #886

Closed philippfromme closed 3 weeks ago

philippfromme commented 3 weeks ago

Proposed Changes

Adds Modeling#updateModdleProperties mirroring bpmn-js.

This is needed in the context of https://github.com/camunda/product-hub/issues/435 as users need to be able add a version tag to a decision through the properties panel. Since the version tag is an extension element we need updateModdleProperties.

### Checklist To ensure you provided everything we need to look at your PR: * [x] **Brief textual description** of the changes present * [x] **Visual demo** attached * [x] **Steps to try out** present, i.e. [using the `@bpmn-io/sr` tool](https://github.com/bpmn-io/sr) * [x] Related issue linked via `Closes {LINK_TO_ISSUE}` or `Related to {LINK_TO_ISSUE}`