Hi folks,
I’m studying the bpmn-moddle
and wondering that the concept of colors is defined / imported twice here: https://github.com/bpmn-io/bpmn-moddle/blob/main/lib/simple.js:
import BiocPackage from '../resources/bpmn-io/json/bioc.json' with { type: 'json' };
import BpmnInColorPackage from 'bpmn-in-color-moddle/resources/bpmn-in-color.json' with { type: 'json' };
As a result the colored shape has attributes from two namespaces bioc:stroke
, bioc:fill
and color:background-color
, color:border-color
.
Is it intentional and required, or is it some kind of legacy support?
Cheers,
Simon