Commit Graph

1503 Commits

Author SHA1 Message Date
Nico Rehwaldt 46e7aea642 chore(CHANGELOG): update 2018-07-16 12:54:27 +02:00
Nico Rehwaldt 853885b37f chore(project): bump to diagram-js@2.5.1
Closes #833
2018-07-16 12:53:53 +02:00
Nico Rehwaldt 6df9008807 2.4.0 2018-07-13 10:37:18 +02:00
Nico Rehwaldt ceb88491b1 chore(CHANGELOG): update to v2.4.0 2018-07-13 10:32:09 +02:00
Philipp Fromme e637a8e57b feat(modeling/BpmnLayouter): layout Element -> Element loops
Closes #824
2018-07-13 10:29:00 +02:00
Philipp Fromme 220c0a73f3 feat(modeling/BpmnLayouter): handle boundary events
This adds proper connection layouting for sequence
flows leaving from boundary events.

If needed, such connections will be layoute with
an U-turn.

Closes #467
2018-07-13 10:16:11 +02:00
Nico Rehwaldt b3c05b6949 chore(CHANGELOG): update 2018-07-12 20:07:06 +02:00
Nico Rehwaldt 51a08116e6 chore(project): bump to diagram-js@2.5.0 2018-07-12 20:02:28 +02:00
Philipp Fromme 6d394e95da chore(project): use diagram-js@2.4.1 2018-07-12 09:25:37 +02:00
Nico Rehwaldt 4806938600 feat(modeling): create label at appropriate position
This re-introduces adaptive label positioning
on label creation as a feature.

It worked before but broke during the introduction
of optional labels.

Closes #825
2018-07-11 13:26:43 +02:00
Nico Rehwaldt 15596ef97c test(modeling): verify correct label adjustment 2018-07-11 13:10:18 +02:00
Nico Rehwaldt abbe54912f test(modeling): correct test cases
Ensure the test cases are not affected by accidential
automatic label adjumstment (TM).
2018-07-11 13:09:40 +02:00
Philipp Fromme 82a37e7253 chore(test): clean up test setup 2018-07-09 12:30:45 +02:00
Nico Rehwaldt 36613c5cdf 2.3.1 2018-06-28 10:28:53 +02:00
Nico Rehwaldt 3d4c5c054c chore(CHANGELOG): update to v2.3.1 2018-06-28 10:25:46 +02:00
Nico Rehwaldt cec9d08d61 fix(draw): revert to Arial as default font
This partially reverts commit 891cf4ac0c
which set `sans-serif` as the default font.

Setting it back to Arial solves SVG export and rendering issues,
especially on platforms (Windows, Mac) where the default font
metrics differ highly from Arial.

NOTE: The font can still be easily overriden if integrators wish
to do so in order to give their users a more native look and feel.

Closes #819
2018-06-28 10:21:08 +02: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
Nico Rehwaldt 628e2d1019 chore(test/matchers): improve jsonEquals matcher 2018-06-28 09:03:34 +02:00
Nico Rehwaldt 087c9575b5 2.3.0 2018-06-26 15:57:03 +02:00
Nico Rehwaldt e0bc3f7ccf chore(CHANGELOG): bump to v2.3.0 2018-06-26 15:54:14 +02:00
Nico Rehwaldt 803888d4d9 chore(project): use diagram-js@2.4.0 2018-06-25 09:21:45 +02:00
Nico Rehwaldt 01f0ce9774 chore(CHANGELOG): fix formatting 2018-06-18 09:37:01 +02:00
Nico Rehwaldt 1a258850e4 2.2.1 2018-06-18 09:26:57 +02:00
Nico Rehwaldt 85cece3c57 chore(CHANGELOG): update to v2.2.1 2018-06-18 09:23:49 +02:00
Nico Rehwaldt 300e7010c4 fix(modeling): correct DataStoreBehavior updating multiple stores 2018-06-18 09:21:18 +02:00
Philipp Fromme 757d358be4 chore(CHANGELOG): update 2018-06-13 16:13:42 +02:00
Philipp Fromme 9c70c04aa4 2.2.0 2018-06-13 16:10:42 +02:00
Philipp Fromme e1b8e54635 chore(project): bump diagram-js dependency 2018-06-13 15:36:11 +02:00
Philipp Fromme eab44234f1 chore(CHANGELOG): update 2018-06-13 15:04:19 +02:00
Philipp Fromme 5cc28d5d55 fix(modeling): apply DataStoreBehavior in collaboration only
* updating parents of datastores in the root is only
  necessary when deleting a subprocess in a collaboration

Related to camunda/camunda-modeler#823
2018-06-13 13:48:39 +02:00
Nico Rehwaldt c7103d8f07 chore(CHANGELOG): update 2018-06-13 11:12:44 +02:00
Nico Rehwaldt 834ac7db77 fix(draw): adjust center-middle aligned label padding 2018-06-13 11:09:09 +02:00
Nico Rehwaldt fb5fccb331 style(modeling): use constant instead of magic string 2018-06-13 11:08:46 +02:00
Nico Rehwaldt 694800d51a chore(CHANGELOG): update 2018-06-13 11:02:55 +02:00
Philipp Fromme 100f3fb2ee fix(label-behavior): text annotation resizing after text property change
Depends on bpmn-io/diagram-js#259

Related to camunda/camunda-modeler#631
2018-06-13 11:02:55 +02:00
Nico Rehwaldt 3c87716895 feat(viewer): emit export events
This makes the viewer emit events during SVG and XML export.

These events allow others to hook in, i.e. to trigger additional _save_
actions.

Closes #811
2018-06-12 15:44:52 +02:00
Nico Rehwaldt e8dfccedea chore(project): bump devDependency versions
Addresses the most urgent <npm audit> issues.
2018-06-12 09:43:03 +02:00
Nico Rehwaldt 6c081d854f chore(label-editing): remove businessObject name on empty text
The following two actions will now unset the
business objects name property:

* deleting external label
* entering empty text via direct editing
2018-06-11 11:39:08 +02:00
Nico Rehwaldt a7a1743df0 fix(modeling): properly cascade label deletion
Ensure we execute the following nicely:

* unset name -> remove label shape
* remove label shape -> unset name
2018-06-11 11:39:08 +02:00
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