19 Commits

Author SHA1 Message Date
1c428f6872 fix(draw): use correct Types in BpmnRenderUtil (#2036)
closes #2028
2023-11-27 14:23:00 +01:00
f77de3bc4d feat(bpmn-renderer): allow overriding colors, width, and height
* fill, stroke, width and height can be overridden
* no other attributes can be overridden
* public API only exposes renderers for actual BPMN elements

Closes #1990
2023-10-30 14:52:52 +01:00
130749e715 fix(draw): correct some JSDocs (#1898) 2023-04-21 09:32:15 +02:00
2ca4907d5c fix: correct various JSDocs 2023-04-20 16:02:33 +02:00
3ae58a6c08 chore(util): fix BpmnRenderUtil param type 2023-04-19 12:18:42 +02:00
4a8c98307c feat(draw): type render util 2023-04-19 12:18:42 +02:00
32321e9fa0 feat(draw): type BpmnRenderUtil 2023-04-19 12:18:42 +02:00
6d3cb74f3f chore(draw): remove unused code
+ untested, not used -> removed
2023-04-19 12:18:42 +02:00
1a9a1ab8bc chore(draw): re-use ModelUtil#getSemantic 2023-04-19 12:18:42 +02:00
c42dbf8a70 style: update code style
Apply latest bpmn-io code style.
2022-08-18 10:57:23 +00:00
b3db78cbfe feat: change default black to off black
Related to https://github.com/bpmn-io/diagram-js/issues/571
2022-05-20 11:30:30 +02:00
7243aa4acc chore: consistently use new getDi utility 2021-09-03 15:14:00 +02:00
2b11d871cd feat: decouple DI from businessObject
In the diagram `di` is now accessed via the diagram element, not the
business object. This has the benefit that elements in multiple diagrams
can easily be represented.

Related to https://github.com/bpmn-io/bpmn-js/issues/1472

BREAKING CHANGE:

* Instead of referencing the `di` from the business object, reference it
  from the diagram element representing it.
2021-09-03 15:14:00 +02:00
4251e31af2 feat(bpmn-renderer): support displaying bpmn-in-color 2021-05-27 12:43:53 +00:00
9be61259bd chore(project): drop 'use strict'
We use ES modules, so 'use strict' is not necessary anymore.
2018-04-03 18:09:53 +02:00
d3449ca87c chore(project): es6ify source code
* use ES6 import / export
* UTILS: export individual utilities
* TESTS: localize TestHelper includes

BREAKING CHANGE:

* all utilities export independent functions
* library sources got ported to ES6. You must now use
  a ES module bundler such as Browserify + babelify or
  Webpack to consume this library (or parts of it).
2018-04-03 16:32:14 +02:00
245d1d6a96 chore(project): upgrade lodash to min-dash 2018-03-22 11:59:39 +01:00
19e4e19bb5 chore(project): migrate to new SECTION comments 2018-02-27 09:57:22 +01:00
36a12396fd chore(renderer): extract BpmnRenderer utilities into util
Closes #731
2017-12-10 19:10:12 +01:00