Philipp Fromme
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
Maciej Barelkowski
9dbc3c88df
feat(modeling): allow to attach intermediate event with connections
...
Closes #478
2019-06-04 17:44:47 +00:00
Maciej Barelkowski
ecf9118a09
style(bpmn-replace): lint tests
2019-06-04 16:07:13 +02:00
Nico Rehwaldt
d73ffd5991
style(tests): adopt cleaner pattern
2019-04-29 12:04:01 +00:00
Nico Rehwaldt
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
Gustavo E. Jimenez Folta
0f7b8f483c
feat(replace): auto-resize height when toggling pool collapse/expand
2019-04-23 15:56:50 +02:00
Nico Rehwaldt
7aad42d178
fix(modeling): limit flow join behavior to bpmn:SequenceFlows
...
Closes #917
2018-11-30 09:32:05 +00:00
Nico Rehwaldt
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
Philipp Fromme
7537757357
feat(labels): labels can be deleted
...
Related to camunda/camunda-modeler#243
2018-05-24 16:22:51 +02:00
Nico Rehwaldt
327eb90140
style(tests): use not.to matchers
...
...in favor of to.not.
2018-05-03 16:37:24 +02:00
Nico Rehwaldt
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
Nico Rehwaldt
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
Nico Rehwaldt
b03014fc2c
chore(project): update to new lint style
2018-02-27 10:08:31 +01:00
Philipp Fromme
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
Nico Rehwaldt
37a06a378d
chore(tests): use absolute lib requires
2018-01-24 11:41:21 +01:00
Nico Rehwaldt
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
Nico Rehwaldt
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
Philipp Fromme
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
Ricardo Matias
722c86beb2
feat(replace): persist colors when replacing an element
...
Related to #640
2017-02-13 12:01:42 +01:00
Ricardo Matias
1a4a8959fe
fix(replace): make sure is respected for expanded sub processes
...
Closes camunda/camunda-modeler#511
2017-02-10 09:41:44 +01:00
Ricardo Matias
432d7f4b7c
fix(replace): assign passed properties to businessObject before cloning
2017-01-30 16:23:57 +01:00
Ricardo Matias
a9b68b69e0
feat(replace): clone properties when morphing to new element
...
Closes #647
2017-01-12 16:02:31 +01:00
Philipp Fromme
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
hoferch91
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
Philipp Fromme
6da1a0cb63
feat(replace): keep element ID on replace
...
Closes #513
2016-06-13 16:53:13 +02:00
Nico Rehwaldt
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
Jan Stümmel
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
Philipp Fromme
ec159381ce
fix(replace): preserve label position on element replace
...
closes #235
2016-04-20 16:13:02 +02:00
Jan Stümmel
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
Nico Rehwaldt
d7834e9bee
feat(replace): add compensation morph options
...
* compensation boundary
* compensation activity
Related to #291
2016-01-25 16:02:58 +01:00
pedesen
f619a06cae
chore(test): adjust test cases to fit popup menu provider concept
...
Related to #426
2016-01-06 16:37:17 +01:00
pedesen
eb7b5d7bb4
chore(replace): separate popup menu from replace logic
...
This commit makes use of the provider concept introduced
in diagram-js. The replace menu entries are now created
in the replace menu provider. This separates BpmnReplace
from the entry creation in the popup menu.
Closes #428
2016-01-06 16:37:17 +01:00
Adam Brengesjö
93d4bade22
feat(replace): let rules disallow replacement operations
2016-01-06 16:37:17 +01:00
Ricardo Matias
d344e679fd
fix(BpmnLabelSupport): fix hidden property assignment
...
Closes #401
2016-01-04 15:19:08 +01:00
Nico Rehwaldt
e00197d67a
chore(tests): migrate to (.not).exist matcher
...
Migrate parts of our test suite that rely on legacy
`.to.be.(un)defined` matchers to Chai's `.to(.not).exist`.
Closes #423
Closes #422
2015-12-03 13:08:56 +01:00
pedesen
acb3716716
fix(replace): properly set parent of event definitions
...
Related to bpmn-io/bpmn-js-properties-panel#82
2015-11-19 13:28:39 +01:00
Adam Brengesjö
0a33d7c2b4
fix(replace): do NOT show current sequence flow type for OR-gateways
...
Closes #410
2015-11-12 17:22:25 +01:00
Ricardo Matias
534061d821
feat(replace): update bpmn when reconnecting flows
...
When reconnecting the source and end waypoints of a conditional
or default flow, the bpmn tree should be updated to reflect
these changes.
Closes #373
2015-10-06 13:51:01 +02:00
Ricardo Matias
fe7e8fe6d1
feat(replace): add conditional flows
...
Closes #369
2015-09-30 11:35:44 +02:00
Ricardo Matias
5a60c370a7
feat(replace): add default flows
...
Closes #272
2015-09-30 11:35:44 +02:00
Ricardo Matias
421912ddbf
fix(replace): fix test cases for cancel events
2015-09-30 11:35:44 +02:00
Ricardo Matias
8a0f566ee3
feat(replace): add cancel events
...
Closes #337
2015-09-28 11:35:38 +02:00
pedesen
4196ae8b00
feat(replace-preview): Add visual feedback during shape movement
...
Closes #325
2015-08-19 10:52:15 +02:00
Nico Rehwaldt
3cb1721c89
chore(modeling): rename Modeling#move{Shapes->Elements}
...
Related to bpmn-io/diagram-js#107
BREAKING CHANGE:
* Modeling#moveShapes got renamed to Modeling#moveElements
* Id of command changed from 'shapes.move' to 'elements.move'
2015-08-13 10:51:52 +02:00
pedesen
5b0029a8fd
feat(modeling): define behavior for non-interrupting start events
...
Related to #302
2015-08-12 09:48:28 +02:00
pedesen
4af603e5be
feat(modeling): add expanded event sub processes
...
Closes #302
2015-08-12 09:47:42 +02:00
pedesen
42c052f7ec
feat(replace): morph boundary events
...
Closes #293
2015-07-27 10:55:29 +02:00
pedesen
c3e4ad3e40
test(project): replace jasmine with mocha
...
Closes #204
2015-07-15 17:42:37 +02:00
pedesen
31ea6b2f91
feat(modeling): add ad-hoc sub processes
...
Closes #271
2015-07-14 15:26:43 +02:00
pedesen
b76c1c8ded
chore(replace): add test case for bpmn containment
...
Related to bpmn-io/diagram-js#101
2015-07-13 15:20:22 +02:00