Commit Graph

1500 Commits

Author SHA1 Message Date
Nico Rehwaldt 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
Nico Rehwaldt 4cd0a01df6 chore(project): bump to diagram-js@2.1.1 2018-05-24 16:22:51 +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 114c81d763 chore(CHANGELOG): update 2018-05-24 15:03:52 +02:00
Nico Rehwaldt 0b66b77483 chore(draw): retrieve default colors from bpmnRenderer config
Related to #713
2018-05-24 15:03:52 +02:00
Nico Rehwaldt 290b2f6121 chore(test): collapse completed test containers 2018-05-24 14:21:09 +02:00
Nico Rehwaldt f973ce807a test(draw): add colored labels to test diagram 2018-05-24 14:21:09 +02:00
Nico Rehwaldt 3a980af0e7 test(draw): run tests in test containers 2018-05-24 14:21:09 +02:00
Philipp Fromme dc1f18a497 feat(bpmn-renderer): accept default fill and stroke color
Related to #797
2018-05-24 07:39:30 +02:00
Nico Rehwaldt 3321893252 2.0.1 2018-05-22 23:56:53 +02:00
Nico Rehwaldt f123e5ab58 chore(CHANGELOG): update 2018-05-22 23:53:08 +02:00
Nico Rehwaldt f5fcc45199 2.0.0 2018-05-22 09:42:18 +02:00
Nico Rehwaldt c17e5ee3d9 chore(CHANGELOG): update to v2.0.0 2018-05-22 08:57:15 +02:00
Philipp Fromme 690417b389 feat(modeling): allow data store anywhere in collaboration
ensure valid BPMN 2.0 parent when

* creating/moving data store
* removing participant
* turning process into collaboration
* turning collaboration into process

Closes #483
2018-05-17 15:09:37 +02:00
Nico Rehwaldt 0f62183410 test(modeling): verify missing bpmndi:BPMNLabel update behavior 2018-05-17 14:57:54 +02:00
Nico Rehwaldt b98dd6fe95 fix(modeling): correctly handle missing bpmndi:Label bounds
Closes #794
2018-05-17 14:57:54 +02:00
Nico Rehwaldt 92b0d4eced test(draw): unskip color spec 2018-05-17 11:26:38 +02:00
Philipp Fromme 537a55bc43 chore(CHANGELOG): update CHANGELOG 2018-05-14 16:11:42 +02:00
pedesen 17896df65c chore(contextPadProvider): adjust popupMenu method calls
Since breaking changes were introduced in diagram-js
popupMenu methos calls need to be adjusted

* call popupMenu#open with element, id and position as params
* call popupMenu#isEmpty with element and providerId as params
* remove popupMenu#create call
2018-05-14 15:13:29 +02:00
Philipp Fromme 6b2d4b47da chore(project): bump diagram-js dependency 2018-05-14 15:13:18 +02:00
Nico Rehwaldt 6bbbb54855 1.3.3 2018-05-14 11:33:40 +02:00
Nico Rehwaldt a63ff8ab11 chore(project): bump bpmn-moddle version 2018-05-14 11:30:12 +02:00
Nico Rehwaldt 15df6317a7 1.3.2 2018-05-07 13:54:50 +02:00
Nico Rehwaldt fb2b3d40f6 chore(project): bump bpmn-moddle version 2018-05-07 13:50:29 +02:00
Nico Rehwaldt 77b18bd25b 1.3.1 2018-05-04 10:48:49 +02:00
Nico Rehwaldt 16696b4f37 chore(CHANGELOG): bump to v1.3.1 2018-05-04 10:44:49 +02:00
Nicolas Boissel-Dallier 9379abafcc fix(auto-place): fix infinite loop during auto-place
* NaN was returned when autoplacing an element after
  a boundary event, attached to its hosts corner.

Closes #788
2018-05-04 10:40:01 +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 655e75ed2c 1.3.0 2018-04-25 21:37:35 +02:00
Nico Rehwaldt 3e0762a2aa chore(CHANGELOG): bump to v1.3.0 2018-04-25 21:33:44 +02:00
Nico Rehwaldt 88c1ceb092 chore(CHANGELOG): update 2018-04-25 21:31:43 +02:00
Nico Rehwaldt 67b9711399 feat(import/BpmnTreeWalker): make businessObject#di prop configurable
This allows advanced use-cases such as lazy importing
elements into the diagram.
2018-04-25 21:31:43 +02:00
Nico Rehwaldt 014aabaaf5 chore(project): bump diagram-js version
+ object-refs@0.3.0 inside (r) (c) (tm)
2018-04-25 21:31:43 +02:00
Nico Rehwaldt a5a31cab64 chore(project): bump object-refs version
* allows BpmnTreeWalker related DI wiring to be reverted
2018-04-25 21:31:43 +02:00
Philipp Fromme 12a38da9c7 feat(import): expose additional BpmnTreeWalker functionality
* expose API needed for lazy sub-process imports
* also changes #handleDeferred to NOT expect deferred
  as a parameter anymore

Related to bpmn-io/bpmn-js-signavio-compat#1
2018-04-25 21:31:02 +02:00
Nico Rehwaldt a74ed871a4 chore(project): bump diagram-js-direct-editing
This reverts the previous version bump as it introduces
test failures on all major browsers.
2018-04-25 21:22:10 +02:00
Philipp Fromme bc1bdcfc4f chore(project): bump diagram-js-direct-editing dependency
Related to bpmn-io/diagram-js-direct-editing#5
2018-04-23 09:10:00 +02:00
Nico Rehwaldt 98200f3cdd 1.2.1 2018-04-19 20:07:18 +02:00
Nico Rehwaldt 1459aae7b3 chore(project): bump diagram-js version 2018-04-19 19:40:11 +02:00
Nico Rehwaldt 96f6e4c5c8 fix(project): exclude CSS files from side-effects 2018-04-19 19:38:03 +02:00
Nico Rehwaldt 46159e29d2 1.2.0 2018-04-13 22:54:03 +02:00
Nico Rehwaldt 164005c88d chore(project): bump bpmn-moddle dependency
* improve well-known namespace attribute validation
* pull in model fixes
2018-04-13 22:48:42 +02:00
Nico Rehwaldt 17a343310c chore(CHANGELOG): update to 1.2.0 2018-04-13 22:20:17 +02:00
Nico Rehwaldt 15296e0255 chore(project): bump diagram-js version 2018-04-13 10:12:57 +02:00
Nico Rehwaldt 16a7ab2879 fix(label-editing): complete on popup menu open
This improves the user flow.

Addresses camunda/camunda-modeler#770
2018-04-13 10:12:37 +02:00
Nico Rehwaldt 68f85a171d fix(rules): allow message flows between collapsed pools
Adresses camunda/camunda-modeler#782
2018-04-12 19:35:19 +02:00
Nico Rehwaldt 82fac245be chore(CHANGELOG): update 2018-04-11 13:57:01 +02:00
pedesen fcd1e2f12c feat(snapping): add initial snapping for associations
Snap to target mid when creating associations.

Closes #782
2018-04-11 13:55:16 +02:00
Nico Rehwaldt 1f71f7c6ba 1.1.1 2018-04-10 09:38:03 +02:00
Nico Rehwaldt e5a3973107 fix(replace-preview): escape element ids in CSS selectors 2018-04-10 09:34:49 +02:00