-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use bpmn in color #1453
Use bpmn in color #1453
Conversation
Follow-up: #1454 |
Follow-up issue: #1455 |
b5d4809
to
a71a8bd
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd personally not introduce any breaking changes at this point. Is it something we could avoid? A way to do it could be:
- Detect if
bioc
is already used, if so, serialize using our color format. - If
bpmn-in-color
is already used, serialize inbpmn-in-color
format. - If non is used, serialize in
bioc
because that is (at least at the moment) widely understood by bpmn-js viewers out there
Once our bpmn-in-color support received wider adoption we could consider to go the full switch
I think the most important breaking change is that we start to throw errors in Regarding using
|
We've discussed this offline and come up with the following:
|
OK I've removed the breaking change. |
Looks good. Pending integration of |
Done via 7d58d6a |
Did not seem to work according to tests @barmac. And it seems like we did not properly inline the |
Needs follow up fix in bpmn-moddle: bpmn-io/bpmn-moddle#88 |
Yea. I'll release bpmn-moddle@7.1.1 and itegrate it. |
Additionally to custom bpmn.io properties, `modeling#setColor` will use [BPMN in Color properties](https://github.com/bpmn-miwg/bpmn-in-color).
Looks good now 😓 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good work. Happy we got this one sorted 👏
Awesome! When will this be available in Camunda Modeler? |
Will be released with the next release. |
When will it be included in the nightly builds so we can start using it for the MIWG work? Is there another GitHub issue that I can follow for that? |
It's already included in the nightly :) |
Along with custom bpmn.io extension properties,
modeling#setColor
will use BPMN in Color properties to serialize element colors.