Commit Graph

1775 Commits

Author SHA1 Message Date
Nico Rehwaldt fdb299dc88 feat(modeling): allow to drag participant via nested lane
Related to https://github.com/bpmn-io/bpmn-js/issues/957
2019-06-25 18:01:40 +02:00
Philipp Fromme 7b0e304062 feat(modeling): prevent accidential dragging of container elements
This implements custom hit areas for participants, lanes and
expanded subprocesses.

Given these changes, users need to grab container elements
on the boarder or the label area to move them.

Closes https://github.com/bpmn-io/bpmn-js/issues/957
2019-06-25 18:01:40 +02:00
Nico Rehwaldt 9e8a84fec7 chore(project): bump diagram-js version 2019-06-25 18:01:15 +02:00
Nico Rehwaldt 46b4d9ee2f 4.0.0-beta.5 2019-06-25 17:00:53 +02:00
Danilo Akamine 65216cbdd5 feat(translations): add new keywords 2019-06-25 07:20:25 +00:00
Maciej Barelkowski 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
Nico Rehwaldt 6aa0e5c95b 4.0.0-beta.4 2019-06-21 15:35:02 +02:00
Nico Rehwaldt f66cd95b39 chore(project): bump diagram-js version 2019-06-21 15:29:36 +02:00
Nico Rehwaldt a50c86842a 4.0.0-beta.3 2019-06-19 19:12:37 +02:00
Nico Rehwaldt cf27c46132 chore(project): bump diagram-js version 2019-06-19 19:01:13 +02:00
Niklas Kiefer 827df52e4b test(modeling): add test for center-to-center connection
Relates to #1087
2019-06-19 13:26:17 +00:00
Niklas Kiefer 9b9ff934d2 feat(snapping): snap to task mid on center interaction
Closes #1086
2019-06-19 13:26:17 +00:00
Niklas Kiefer cfad2f49aa feat(snapping): restore center snapping for Gateways and Events
Closes #1079
2019-06-19 13:26:17 +00:00
Nico Rehwaldt ca64b1b353 test(draw): fix broken test diagram 2019-06-18 11:31:15 +00:00
Nico Rehwaldt 92c03679a4 feat(import): validate ids as QNames
* bump bpmn-moddle version
2019-06-18 11:31:15 +00:00
Nico Rehwaldt ba2e8192bd 4.0.0-beta.2 2019-06-18 09:50:30 +02:00
Nico Rehwaldt 3d148945ba chore(project): bump diagram-js version 2019-06-18 09:48:00 +02:00
Nico Rehwaldt 19be51abc7 feat(modeling): ignore lanes when connecting message flows
Closes #950

Related to camunda/camunda-modeler#1213
2019-06-18 07:07:03 +00:00
Nico Rehwaldt 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
Nico Rehwaldt 5a69f9c0bc chore(modeling/behavior): rename Create -> FixHover behavior 2019-06-18 07:07:03 +00:00
Philipp Fromme bef75b2435 fix(snapping): snap to docking points
Closes #1081
2019-06-17 18:54:28 +00:00
Nico Rehwaldt aed11d88af chore(project): bump ids dependency 2019-06-17 14:39:49 +02:00
Nico Rehwaldt 06cd481146 fix(grid-snapping): correctly update snapped waypoints
* make side-effect free
* use Modeling#updateWaypoints for actual update
2019-06-17 12:34:09 +00:00
Nico Rehwaldt d0ff81a6e7 feat(label-editing): auto-activate for group 2019-06-13 16:38:50 +00:00
Nico Rehwaldt c80f29c57f feat(modeling): increase default group size 2019-06-13 16:38:50 +00:00
Nico Rehwaldt 5cdc8b2953 4.0.0-beta.1 2019-06-13 12:56:48 +02:00
Nico Rehwaldt 71bfda004b chore(project): bump bpmn-font version 2019-06-13 12:53:34 +02:00
Nico Rehwaldt e42839d490 chore(project): bump to diagram-js@next 2019-06-13 12:49:05 +02:00
Nico Rehwaldt ba3d77ed44 chore(package): bump version 2019-06-13 12:38:49 +02:00
Nico Rehwaldt bf2ba68245 chore(CHANGELOG): add patch release versions 2019-06-13 10:56:14 +02:00
Niklas Kiefer 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
Nico Rehwaldt 5e7c1c7ba9 fix(project): prevent HTML injection in search
* bump diagram-js version
2019-06-13 10:17:51 +02:00
Nico Rehwaldt 2741aa8547 chore(CHANGELOG): update 2019-06-13 10:02:43 +02:00
Nico Rehwaldt 153528232b fix(modeling): prevent insertion of pasted HTML
Closes #1073
2019-06-13 08:53:26 +02:00
Maciej Barelkowski a09e0a3bed feat(bpmn-snapping): snap boundary event loop when close to source
Closes #903
2019-06-12 20:46:39 +02:00
Maciej Barelkowski 085cedfda1 feat(layout): correctly lay out Boundary Event loops
Loops will now be laid out with respect to minimum
second segment width.
2019-06-12 20:46:39 +02:00
Maciej Barelkowski d80076a034 feat(bpmn-snapping): snap inside the target instead of target center 2019-06-12 20:46:39 +02:00
Maciej Barelkowski eadc1fb159 test(layout): remove awesome test 2019-06-12 20:46:39 +02:00
Maciej Barelkowski 6eba64d666 test(layout): extract boundary event loop tests 2019-06-12 20:46:39 +02:00
Niklas Kiefer 144157f9eb feat(label-behavior): move external label after resizing
* Generate reference point for external label 
* Adjust label position after resizing due to reference point delta

Closes #1051
2019-06-11 22:15:18 +00:00
Niklas Kiefer 4777b42f63 chore(label-behavior): move test file
* Adjust to fit the existing behavior test file structure
2019-06-11 22:15:18 +00:00
Maciej Barelkowski debb96f49d test(modeling): ensure reconnecting data association works
Closes #1008
2019-06-06 17:42:48 +00:00
Nico Rehwaldt aa62eb27f8 chore(project): bump bpmn-font dependency
Makes group better distinguishable from tasks.
2019-06-06 14:29:54 +02:00
Maciej Barelkowski dd3d7e9c64 fix(modeling): fix selection during reconnection with replacement
Closes #896
2019-06-06 09:10:56 +00:00
Maciej Barelkowski 4c10420017 feat(modeling): replace connection with correct type if rules allow
As a side effect, this corrects also the layout of the replacement.

Closes #1049
2019-06-06 09:10:56 +00:00
Philipp Fromme 8815b73599 feat(grid-snapping): snap width and height on create first participant
Closes #1061
2019-06-05 15:50:47 +02:00
Philipp Fromme a98c8e3bc8 chore(bpmn-snapping): seperate snapping into create/move and connect
* move create/move snapping to BpmnCreateMoveSnapping
* move connect snapping to BpmnConnectSnapping
* refactor tests

Related camunda/camunda-modeler#1290
2019-06-05 14:36:39 +02:00
Philipp Fromme a4e160c48b chore(bpmn-snapping): move create behavior to seperate behavior 2019-06-05 14:36:39 +02:00
Philipp Fromme d42d5e3448 chore(resize-behavior): move resize behavior to seperate behavior
* setting minimum bounds and resize constraints moved to ResizeBehavior

Related to #1290
2019-06-05 14:36:39 +02:00
Philipp Fromme 5e199694a1 chore(bpmn-snapping): use injector to call super 2019-06-05 14:36:39 +02:00