Add color with bpmn-js v0.18.4

To answer your questions:

  • Text color will be stroke color.

Colors

  • Adding colors using markers (CSS classes) and overlays will always be an alternative but you’re right, right now it’s causing confusion and I’ve already considered removing the example.

  • The latest version is v0.21.0 and it’s considered stable. The bpmn.io demo application is frequently updated to always use the latest version of bpmn-js. It uses v0.21.0, I’ve updated it a few days ago. Where did you see v0.18.4?