90c513c770
fix: keep direction when collapsing pools
...
Closes #2208
2024-08-05 13:43:04 +02:00
b9d0ce3e10
feat: support modeling of gateway without marker
...
Closes #2063
Co-authored-by: Maciej Barelkowski <maciejbarel@gmail.com>
2024-01-15 13:39:58 +01:00
3dbaf503a5
feat: improve handling of compensation association
...
* Allow to connect compensate boundary event to activity, turning it into compensation activity.
* Turn sequence flow connected to boundary event into compensation association
when boundary event is turned replaced with compensate boundary event.
Closes #2038
---------
Co-authored-by: Maciej Barelkowski <maciej.barelkowski@camunda.com>
2023-12-22 15:00:21 +01:00
29f135f383
feat(modeling): keep interrupting config when replacing elements
2023-11-02 14:42:10 +01:00
83c79f003c
fix: fix tests failing due to lazy instantiation of eventDefinitions
...
* since the renderer now accesses `eventDefinitions` through the getter it's lazily instantiated and therefore not undefined; the tests should assume undefined in the first place
* remove unused `bpmnReplace` dependencies
2023-10-30 14:52:52 +01:00
208edb6ef4
Merge branch 'master' into develop
2022-08-19 10:32:55 +02:00
2fc2a6676d
fix(replace): assign default size when replacing with expanded element
...
Closes #1687
2022-08-19 10:32:38 +02:00
c42dbf8a70
style: update code style
...
Apply latest bpmn-io code style.
2022-08-18 10:57:23 +00:00
ab6db7b073
feat(copy-paste): clone element on copy
...
Ensures copy is unaffected by edit operations after copy.
Closes https://github.com/bpmn-io/bpmn-js/issues/798
2022-08-16 13:14:13 +00:00
b8ed73b7f8
feat(modeling): support toggle collapse with drilldown
...
closes #1539
2022-01-12 09:14:15 +01:00
8563bb2a4b
feat(bpmn-replace): add basic collapsed sub-process awareness
...
closes #1511
2022-01-12 09:14:15 +01:00
eed6c3b662
fix(elementFactory): ensure collapsed
is set
2021-12-15 10:29:26 +00:00
c4206a4d31
fix(replace): create new di on replace
2021-09-03 15:14:00 +02:00
ca8488b2c9
test: adjust to use getDi
utility function
...
Related to https://github.com/bpmn-io/bpmn-js/issues/1472
2021-09-03 15:14:00 +02:00
439bc4ead0
feat(modeling): use BPMN in Color for color setting
...
Additionally to custom bpmn.io properties, `modeling#setColor` will use
[BPMN in Color properties](https://github.com/bpmn-miwg/bpmn-in-color ).
2021-05-27 12:43:53 +00:00
4806507936
feat: reconnect message flows when collapsing participant
...
Related to camunda/camunda-modeler#1651
2021-04-22 07:09:34 +00:00
1ccba5c5e6
feat(replace): add switch between DataStore and DataObject in replace menu
...
Closes #1372
2020-12-03 11:01:38 +00:00
90614dd99a
feat(rules/bpmnRules): typed start event to none type on subProcess move
...
closes #831
2020-07-30 09:34:09 +02:00
cbbab12e21
test(replace): verify reconnect behavior on replace with different bounds
...
This ensures that we leave no dangling incoming / outgoing message flows
after replacing an expanded pool with a collapsed one.
2020-01-15 08:19:30 +00:00
194b963959
chore(copy-paste): rework and base upon diagram-js@5
...
* use <copyPaste.canCopyProperty> event to copy category value when copying group
* add camunda-bpmn-moddle for integration tests
BREAKING CHANGES
* CopyPaste: remove <property.clone>, add <moddleCopy.canCopyProperties>, <moddleCopy.canCopyProperty>, <moddleCopy.canSetCopiedProperty>
* BpmnRules: removed <elements.paste> rule in favor of <elements.create> rule
* BpmnRules: removed <element.paste> rule
* ElementFactory: use <attrs.di> property instead of <attrs.colors> for fill and stroke when creating element through ElementFactory#createBpmnElement
2019-08-07 16:03:55 +00:00
9dbc3c88df
feat(modeling): allow to attach intermediate event with connections
...
Closes #478
2019-06-04 17:44:47 +00:00
ecf9118a09
style(bpmn-replace): lint tests
2019-06-04 16:07:13 +02:00
d73ffd5991
style(tests): adopt cleaner pattern
2019-04-29 12:04:01 +00:00
5affe25705
feat(modeling): adjust default collapsed participant height to 60px
...
This better aligns our collapse behavior with other tools.
2019-04-29 12:04:01 +00:00
0f7b8f483c
feat(replace): auto-resize height when toggling pool collapse/expand
2019-04-23 15:56:50 +02:00
7aad42d178
fix(modeling): limit flow join behavior to bpmn:SequenceFlows
...
Closes #917
2018-11-30 09:32:05 +00:00
75c0880341
chore(replace): retain definitions where appropriate
...
* simplify implementation
* retain event definitions when switching from interrupting
to non-interrupting and vice versa
Closes #799
2018-06-28 09:03:34 +02:00
7537757357
feat(labels): labels can be deleted
...
Related to camunda/camunda-modeler#243
2018-05-24 16:22:51 +02:00
327eb90140
style(tests): use not.to matchers
...
...in favor of to.not.
2018-05-03 16:37:24 +02: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
b03014fc2c
chore(project): update to new lint style
2018-02-27 10:08:31 +01:00
ef52dff84c
fix(bpmn-replace): correctly replace sub process -> call activity
...
* when not morphing collapsed sub process with children
into expanded sub process children must be removed
Related to camunda/camunda-modeler#739
2018-02-14 22:07:28 +01:00
37a06a378d
chore(tests): use absolute lib requires
2018-01-24 11:41:21 +01:00
1f5c69a58b
fix(modeling): create ConditionalEventDefinition with condition
...
This ensures we always create valid BPMN 2.0 XML when
creating conditional start and intermediate events.
Closes #747
2018-01-03 14:19:01 +01:00
cd24b27768
fix(copy-paste): ignore data associations during cloning
...
* use bpmnFactory for cloning to ensure all relevant
elements have actual IDs
* don't copy dataAssociations, as they are visual elements
that will be created during element re-connection
NOTE: This fixes data input association not properly being
wired during target replace, too.
Closes #694 , #693
2017-12-11 15:14:31 +01:00
79e8378db0
fix(label-support): fix positioning of label created on shape create
...
* make sure label shape is created with correct size
* make sure test varifies behaviour
Closes camunda/camunda-modeler#535
2017-03-07 15:22:43 +01:00
722c86beb2
feat(replace): persist colors when replacing an element
...
Related to #640
2017-02-13 12:01:42 +01:00
1a4a8959fe
fix(replace): make sure is respected for expanded sub processes
...
Closes camunda/camunda-modeler#511
2017-02-10 09:41:44 +01:00
432d7f4b7c
fix(replace): assign passed properties to businessObject before cloning
2017-01-30 16:23:57 +01:00
a9b68b69e0
feat(replace): clone properties when morphing to new element
...
Closes #647
2017-01-12 16:02:31 +01:00
d5fa27ead2
feat(bpmn-rules): replace start events only allowed in event sub process
...
this includes the following event definitions:
* error
* escalation
* compensate
Closes #583
2016-11-09 14:44:42 +01:00
226a0d76ed
feat(replace): properly collapse / expand SubProcess(es)
...
* correctly toggle collapse / expand state
* update children visibility
Closes #575
Closes #510
review(collapse-expand)
2016-08-09 11:33:59 +02:00
6da1a0cb63
feat(replace): keep element ID on replace
...
Closes #513
2016-06-13 16:53:13 +02:00
0ba239bbce
chore(project): switch to eslint
...
Use eslint instead of jshint for linting.
* better linting results
* test files linted, too
* consistent code style checks
Closes #568
2016-06-07 09:55:32 +02:00
0731c9888b
feat(modeling): I can morph tasks to expanded sub processes
...
* from expanded subprocesses to tasks or collapsed sub processes is not supported
Closes #247
2016-04-22 13:23:25 +02:00
ec159381ce
fix(replace): preserve label position on element replace
...
closes #235
2016-04-20 16:13:02 +02:00
4732dcfc74
feat(modeling): create collapsed pools via morph menu
...
You are now able to morph between collapsed and expanded pools
* Not possible to drop elements in a collapsed pool
* if a expanded pool collapses, the children are deleted
Closes #365
2016-03-14 16:28:23 +01:00
d7834e9bee
feat(replace): add compensation morph options
...
* compensation boundary
* compensation activity
Related to #291
2016-01-25 16:02:58 +01:00
f619a06cae
chore(test): adjust test cases to fit popup menu provider concept
...
Related to #426
2016-01-06 16:37:17 +01:00