bpmn-js-embedded-comments

A simple comments extension for bpmn-js

Usage no npm install needed!

<script type="module">
  import bpmnJsEmbeddedComments from 'https://cdn.skypack.dev/bpmn-js-embedded-comments';
</script>

README

bpmn-js-embedded-comments

An extension for bpmn-js that allows you to comment on a BPMN 2.0 diagram.

Stores the comments within the BPMN 2.0 XML file.

A screenshot of a comments integration

How comments are stored

Comments are read, added and written to an elements <bpmn:documentation textFormat="text/x-comments" /> tag.

The format for comments is assumed to be

author:comment;
;other-author:other comment
canbe multiline, too

License

MIT