Commit Graph

1464 Commits

Author SHA1 Message Date
Philipp Fromme 8bb34dacb2 chore(CONTRIBUTING): add ES code style hint 2018-06-07 13:40:50 +02:00
Nico Rehwaldt 4ade805f3d style(modeling): use constant instead of magic string 2018-06-06 14:31:31 +02:00
Nico Rehwaldt 2a940d9a82 chore(CHANGELOG): update 2018-06-06 14:29:20 +02:00
Nico Rehwaldt fcf7eb042c chore(project): drop wiredeps
* run CI against released libraries
2018-06-06 14:24:11 +02:00
Philipp Fromme 4a0f6da814 fix(label-behavior): properly check for name property change
Related to camunda/camunda-modeler#824
2018-06-06 13:35:57 +02:00
Philipp Fromme a3a597f34b chore(CHANGELOG): update 2018-05-29 17:52:24 +02:00
Philipp Fromme 909d3896c2 2.1.0 2018-05-29 16:23:56 +02:00
Philipp Fromme 0780fc7b89 chore(CHANGELOG): update 2018-05-29 16:02:49 +02:00
Philipp Fromme 88545a6461 chore(project): bump diagram-js dependency 2018-05-29 16:01:06 +02:00
Nico Rehwaldt 7a27fe3c9f chore(project): bump diagram-js-direct-editing version
Allows fontWeight and fontFamily to be propagated.
2018-05-29 11:58:15 +02:00
Philipp Fromme 891cf4ac0c feat(draw+modeling): support lineHeight
* take numeric line height into account when
  rendering text labels
* take line height into account when directly
  editing labels
* use default line height of 1.2 for text rendering

Closes #803
2018-05-29 11:58:15 +02:00
Nico Rehwaldt b1a4e08ddd feat(modeling): assign ID when creating bpmn:LaneSet 2018-05-28 09:55:30 +02:00
Nico Rehwaldt a973665f6c chore(CHANGELOG): add text rendering entry 2018-05-25 14:11:07 +02:00
Nico Rehwaldt 24c6dd2414 2.1.0-0 2018-05-24 16:35:06 +02:00
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