c840a9fabb
chore(types): correct renderer types
2024-09-09 14:44:52 +02:00
3f2ec41204
feat: render markers as part of djs-visual
...
related to https://github.com/camunda/camunda-modeler/issues/4307
2024-05-28 15:14:47 +02:00
ec2ee691dd
fix(draw): don't fill multiple parallel events
...
Closes https://github.com/bpmn-io/bpmn-js/issues/2085
2024-01-29 12:09:36 +01:00
c93b2cfa10
feat(bpmn-renderer): render vertical pools and lanes
2023-12-04 10:51:15 +00:00
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
4e68036a08
fix: improve regex
...
Related to https://github.com/bpmn-io/bpmn-js/security/code-scanning/1
2023-06-26 09:31:27 +02:00
cd23850211
feat: allow event rendering without icons
...
Supports https://github.com/bpmn-io/element-template-icon-renderer/issues/6
2023-05-24 13:16:57 +02:00
709be3b192
fix: fix types
2023-05-03 13:37:58 +02:00
b17a234bb4
Merge master to develop
2023-04-24 08:30:59 +00:00
e95e16746d
chore: lift up label-editing/LabelUtil
2023-04-24 10:30:43 +02: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
168527323b
chore: remove outdated type declarations
2023-04-19 12:18:42 +02:00
65d02ee8b4
fix(draw): fix TextRenderer
JSDoc
2023-04-19 12:18:42 +02:00
3ae58a6c08
chore(util): fix BpmnRenderUtil
param type
2023-04-19 12:18:42 +02:00
92feb76662
feat(draw): type PathMap
2023-04-19 12:18:42 +02:00
f34ecdd214
feat(draw): type BpmnRenderer
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
b15bad80da
chore(draw): type TextRenderer
2023-04-19 12:18:42 +02:00
9c6e475681
fix: restore marker stroke-dasharray
2015 workaround
...
Reverts eb4b54f7ff
as it breaks image export.
Related to https://github.com/camunda/camunda-modeler/issues/3442 .
2023-02-16 10:30:58 +01:00
97f4ea4a82
fix(draw): prevent event sub-process render artifact
2023-02-02 22:00:15 +01:00
5b72c7a69c
feat(draw): round corners of multi-segment lines
2023-02-02 17:09:40 +01:00
68b98622fd
feat(draw): improve embedded label padding
...
Ensures labels are attached reasonably to sub-process and transaction elements.
2023-02-02 15:36:42 +01:00
0112a95540
feat(draw): improve intermediate event look
...
Slightly improves visual presence.
2023-02-02 15:36:42 +01:00
e27feb508d
feat(draw): improve association look
...
* improve visual attachment
* slightly increase spacing
2023-02-02 15:36:42 +01:00
dd7a98d8b3
feat(draw): improve group look
2023-02-02 15:36:42 +01:00
f25e92bca6
feat(draw): improve transaction look
2023-02-02 15:36:42 +01:00
590bd2e281
feat(draw): improve event sub-process look
...
Make it appear closer to the BPMN 2.0 specification.
2023-02-02 15:36:42 +01:00
9bd8421298
feat(draw): reduce visual presence of participants and lanes
...
`strokeWidth 2 -> 1.5`
2023-02-02 15:36:42 +01:00
48f28549fe
feat(draw): improve visual presence of loop
marker
2023-02-02 15:36:42 +01:00
921aaa9a65
chore(draw): simplify render code
2023-02-02 14:47:06 +01:00
568b7d5f59
chore: draw lines using dedicated utility
2023-02-02 14:47:06 +01:00
99a2d4ae79
chore(draw): simplify marker generation
2023-02-02 14:47:06 +01:00
fdbf677ecf
feat(draw): join paths round
per default
...
This leads to a slightly less harsh perception of drawn elements.
2023-02-02 14:47:06 +01:00
eb4b54f7ff
chore(draw): drop 2015 marker workaround
2023-02-02 14:47:06 +01: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
7478388070
deps: replace inherits with inherits-browser
...
This increase the safety of our build; external consumers
do no longer need to account for the `browser` field to
bundle bpmn-js (or otherwise bundle a Node shim, unintentionally).
2022-05-18 10:15:53 +00:00
e0a2b4164d
chore(draw): expose extension points
...
+ clearly documented as *UNSAFE*
+ add test cases
+ tested existing *UNSAFE* handler endpoint
2022-02-09 14:55:23 +01:00
4f94ab10f8
chore(draw): remove passing attrs for rendering ( #1528 )
...
This reverts #1515 , as we don't plan to support the feature that requires it anymore.
Closes #1527
2021-11-08 18:39:03 +01:00
4dc7122983
fix(bpmnRender): remove dataAssociation fill
2021-10-27 11:22:05 +00:00
4a1cc29a4d
feat(renderer): allow passing of attrs
...
related to https://github.com/bpmn-io/diagram-js/pull/579
2021-10-26 06:50:41 +00:00
b84f968c16
Merge master to develop
2021-10-05 07:27:53 +00:00
c63d0984f4
fix(path-map): disallow nested tokens
2021-10-05 09:27:34 +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