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
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
e95e16746d
chore: lift up label-editing/LabelUtil
2023-04-24 10:30:43 +02:00
f34ecdd214
feat(draw): type BpmnRenderer
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
4251e31af2
feat(bpmn-renderer): support displaying bpmn-in-color
2021-05-27 12:43:53 +00:00
1f0fdefe40
feat(message): show label on message flow
...
closes #777
2021-04-29 14:31:56 +02:00
5eff166135
feat(replace): add multiplicity marker to replace menu for participants
...
Closes #533
2020-12-11 06:59:20 +00:00
5d339676f2
style(collection-marker): adjust svg path to align with parallel marker
...
Closes #1371
2020-11-19 11:52:38 +01:00
6527e7d116
fix(draw): render colored BPMN group elements
...
Related to https://github.com/camunda/camunda-modeler/issues/1598
2019-11-25 14:44:43 +00:00
e68978bf66
fix(bpmn-renderer): properly escape marker ids
...
Only characters and numbers are allowed. Anything else will be escaped.
Closes #1209
2019-11-07 21:58:09 +00:00
33156e43be
chore(project): fix linting errors
2019-08-19 14:27:33 +00:00
92bdcb83eb
feat(bpmn-renderer): correctly render all parallel and multiple events
...
Closes #1090
2019-06-27 10:41:27 +00:00
f6f9ac29f2
chore(draw): remove internal label for groups
2019-05-28 06:46:53 +00:00
13e3752f94
fix(draw): render hex and rgb encoded color markers
...
Until now we did not properly sanitize the IDs we create for colored
markers. This would make the marker retrival fail with fill and
stroke colors encoded in hex and rgb(a, b, c) form.
This commit improves the situation by removing forbidden chars from
the marker ID.
Closes #981
Related to camunda/camunda-modeler#1342
2019-04-18 14:42:01 +00:00
acd2fe520b
feat(draw): render group names
...
Closes #844
2018-10-25 14:32:07 +02:00
90faab981d
fix(draw): correct embedded label padding
2018-09-20 21:57:23 +02:00
834ac7db77
fix(draw): adjust center-middle aligned label padding
2018-06-13 11:09:09 +02:00
4bb270f192
chore(draw): unify text rendering into service
...
A newly introduced TextRenderer is responsible for text
rendering and text related bounds computation.
This removes a bunch of code duplication, too.
2018-05-24 16:26:01 +02:00
0b66b77483
chore(draw): retrieve default colors from bpmnRenderer config
...
Related to #713
2018-05-24 15:03:52 +02:00
dc1f18a497
feat(bpmn-renderer): accept default fill and stroke color
...
Related to #797
2018-05-24 07:39:30 +02:00
a77d44455f
fix(draw): only apply fillOpacity on actual fill
...
This corrects some SVG to image issues.
Addresses camunda/camunda-modeler#764
2018-04-09 13:03:53 +02:00