93 Commits

Author SHA1 Message Date
0a706beb19 feat: handle resizing of vertical lanes
Closes #2062

---------

Co-authored-by: Maciej Barelkowski <maciej.barelkowski@camunda.com>
2024-01-22 09:38:33 +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
37662c93fc chore: use checks from diagram-js 2023-05-17 08:24:18 +02:00
2ca4907d5c fix: correct various JSDocs 2023-04-20 16:02:33 +02:00
3ea2852221 chore: simplify element type names 2023-04-19 12:18:42 +02:00
07f75f7cd5 fix: fix remaining JSDoc and TS errors 2023-04-19 12:18:42 +02:00
76558cc720 chore(create-append-anything): move rules to dedicated module 2023-01-25 12:38:49 +01:00
49383f4a60 feat(popup-menu): add append provider 2023-01-18 13:10:08 +01:00
0d5aeb4906 chore: remove edge case handling from rule 2022-10-17 09:25:25 +02:00
82c117b982 feat: allow TextAnnotation for SequenceFlows 2022-05-20 10:00:48 +00: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
7f1c0be591 fix(rules): disallow creating DataStoreReference if process is missing
Closes #1456
2021-05-31 18:31:39 +00:00
b56604d5f3 fix(paste): don't insert multiple shapes on flow
closes #1440
2021-05-04 14:03:30 +00:00
40f1d3af52 feat: enable connection tool for text annotation
fixes upstream camunda/camunda-modeler#2042
2021-04-07 11:51:22 +02:00
a9ce32449a fix(rules): allow message boundary event as message flow target
Closes #1346
Related to camunda/camunda-modeler#1919
2020-09-14 14:07:13 +02:00
90614dd99a feat(rules/bpmnRules): typed start event to none type on subProcess move
closes #831
2020-07-30 09:34:09 +02:00
8bc29e7f3e fix(bpmnRules): disallow boundaryEvents as message flow targets
closes #1300
2020-06-23 15:48:00 +02:00
949703aa08 feat(rules): allow starting connections from groups 2020-06-05 08:52:46 +00:00
2dd1e13305 chore(documentation): fix JSDoc boolean types 2020-04-07 06:52:55 +00:00
4a675b3780 fix(rules): allow associations where data associations are allowed, too
Related to https://github.com/camunda/camunda-modeler/issues/1635
2020-01-02 09:23:14 +00:00
06e1478fc8 chore(rules): remove <connection.reconnectStart/End> rule 2019-11-18 13:38:19 +01:00
ea9eacea6b feat(modeling): add reconnect rule 2019-11-18 13:38:19 +01:00
2e27d74306 feat(modeling): copy and paste boundary events
* allow copying boundary events without host
* remove CreateBoundaryEventBehavior in favor of AttachEventBehavior

Closes #1154
Closes #1202
Closes #1204
Closes #1205
2019-10-13 23:19:52 +02:00
e65809f246 docs(project): correct spelling 2019-09-09 12:21:33 +02:00
33156e43be chore(project): fix linting errors 2019-08-19 14:27:33 +00:00
6ed51fc036 fix(rules): allow to create attachments
Related to https://github.com/camunda/camunda-modeler/issues/1462
2019-08-13 08:40:37 +00:00
969472ec9f fix(rules): always allow copying labels
* basic copy rules are implemented in diagram-js CopyPaste e.g. labels can only be copied when their label target is copied

Closes #1153
2019-08-08 09:33:02 +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
14bf3a32ee feat(create): create multiple elements
* add <elements.create> rule for creating multiple elements
* handle creating multiple elements in CreateParticipantBehavior
* create sub process with start event through palette
2019-08-07 16:03:55 +00:00
e7d66b4461 fix(rules): disallow dropping on labels and groups
* test create
* disallow drop on label
* disallow drop on group
* verify create group everywhere

Required by https://github.com/camunda/camunda-modeler/issues/1431
2019-07-22 15:37:07 +02:00
890e466161 fix(bpmn-rules): allow to drop Boundary Events only on containers
Closes https://github.com/bpmn-io/bpmn-js/issues/1095
2019-06-24 13:47:08 +00:00
055fdf75e1 feat(modeling): allow label and group movement everywhere, round two
This partially reverts 0c0932d4c6f54181d7f06a626ef109ae7c00dccb.

Closes #1076
2019-06-18 07:07:03 +00:00
405669e376 feat(bpmn-rules): ignore labels movement visually
* Set canMove to null if external label

Closes #1054
2019-06-13 08:44:41 +00:00
33f9e7be6e feat(modeling): allow to attach events with event definition
This feature is allowed only for events which have their boundary
counteparts, i.e. intermediate throw, message catch, timer catch,
signal catch and conditional catch events.
2019-06-04 17:44:47 +00:00
1e9aceecd7 feat(modeling): create boundary event via moving intermediate event 2019-06-04 17:44:47 +00:00
1da513808c chore(bpmn-rules): remove legacy hacks 2019-06-04 17:44:47 +00:00
4d6c8586e4 feat(modeling): allow to detach Boundary Events
Closes #1045
2019-06-04 16:07:13 +02:00
ba5bf31e42 fix(bpmn-rules): correctly evaluate waypoints update rule
Closes #1048
2019-06-03 09:56:39 +00:00
fb3398fa39 feat(label-editing): enable direct editing for group labels
* Adds external label for Groups
* Modifies referenced categoryValue

Closes #955
2019-05-28 06:46:53 +00:00
576a3dec15 fix(rules): do not allow message flows to outside diagram shapes
Closes #1033
2019-05-17 11:01:29 +00:00
bf2dfe4338 feat(rules): add resizing of groups
Closes #956
2019-05-07 14:36:32 +02:00
b6e9c2186a fix(BpmnRules): update canConnectSequenceFlow()
This prevents multiple incoming sequence flows to target events of an
event-based gateway when the connection source is not an event-based
gateway.
2019-05-06 12:41:11 +02:00
8ca4c1d7b0 feat(modeling): allow basic movement of DataInput / DataOutput
Allow moving DataInput / DataOutput as
long as they do not leave their original
container.

Related to #951
2019-03-29 13:21:34 +00:00
9240971ce7 style(rules): remove unneeded unwrapping 2018-11-21 09:37:38 +01:00
ea681df2d3 fix(bpmn-rules): adjust canAttach rule for boundary events after event based gateways 2018-10-16 10:53:57 +00:00
ba42e9edde feat(global-connect): use rules for connection starting
* remove `BpmnGlobalConnect` provider
* use `connection.start` rule to determine whether
  an element can start a connection

Closes #565
Closes #870

BREAKING CHANGE:

* `BpmnGlobalConnect` got removed. Add `connection.start`
  rule to specify whether connection should be allowed.
2018-10-11 09:28:30 +00:00
374c7d7f18 fix(rules): correct bpmn:Lane insert rule
Closes #855
2018-08-29 00:38:03 +02:00
905ee6f667 fix(rules): allow labels to be dropped everywhere
Closes #849
2018-08-22 14:41:59 +02:00
249ea6a3ea fix(modeling): disallow inserting on incoming/outgoing connection
Closes #836
2018-07-25 11:10:51 +02:00
e637a8e57b feat(modeling/BpmnLayouter): layout Element -> Element loops
Closes #824
2018-07-13 10:29:00 +02:00