Commit Graph

1474 Commits

Author SHA1 Message Date
Nico Rehwaldt e54a3a7692 test(draw): visually verify label rendering 2018-09-20 22:18:10 +02:00
Nico Rehwaldt 90faab981d fix(draw): correct embedded label padding 2018-09-20 21:57:23 +02:00
ruvor 31177b94e7 style(Viewer): fix a typo in the imported name 2018-09-03 09:24:10 +02:00
Nico Rehwaldt 63ded60497 2.5.1 2018-08-29 00:44:38 +02:00
Nico Rehwaldt cf6ab99eb2 chore(CHANGELOG): update to v2.5.1 2018-08-29 00:40:30 +02:00
Nico Rehwaldt 374c7d7f18 fix(rules): correct bpmn:Lane insert rule
Closes #855
2018-08-29 00:38:03 +02:00
Nico Rehwaldt acff17fbd7 2.5.0 2018-08-22 14:53:44 +02:00
Nico Rehwaldt 0193f69e52 chore(CHANGELOG): bump to v2.5.0 2018-08-22 14:48:31 +02:00
Nico Rehwaldt c2196967fc chore(project): bump diagram-js version
* Fixes sub-pixel coordinates being exposed by Dragging.
2018-08-22 14:48:20 +02:00
Nico Rehwaldt 6689af6f5b feat(snapping): snap message flows to bpmn:Event mid
This snaps source / target to the element mid, if
the element is a `bpmn:Event`.

There is usually no more than one snap point for
an event other than the center.

Closes #850
2018-08-22 14:43:16 +02:00
Nico Rehwaldt cdacc69a3d chore(modeling/BpmnLayouter): simplify manhattan layout logic 2018-08-22 14:43:16 +02:00
Nico Rehwaldt 905ee6f667 fix(rules): allow labels to be dropped everywhere
Closes #849
2018-08-22 14:41:59 +02:00
Nico Rehwaldt 8a6ab27b04 test(rules/Helper): accept actual elements 2018-08-22 14:41:59 +02:00
Nico Rehwaldt 96c3f0f3a7 chore(project): move CONTRIBUTING to .github folder 2018-07-25 11:40:04 +02:00
Nico Rehwaldt 4af6fb721c 2.4.1 2018-07-25 11:38:11 +02:00
Nico Rehwaldt 5cf5c5a7ac chore(CHANGELOG): bump to v2.4.1 2018-07-25 11:36:28 +02:00
Nico Rehwaldt fb95eae732 chore(CHANGELOG): update 2018-07-25 11:10:51 +02:00
Nico Rehwaldt 898a0fa9c8 fix(modeling/DropOnFlowBehavior): filter redundant connections
This prevents duplicate flows from being created, accidentially.

Closes #774
2018-07-25 11:10:51 +02:00
Nico Rehwaldt 249ea6a3ea fix(modeling): disallow inserting on incoming/outgoing connection
Closes #836
2018-07-25 11:10:51 +02:00
Nico Rehwaldt 6d9b04a5f1 chore(project): use karma-webpack for testing
* no need to transform test via browserify
* works 🍰
2018-07-16 13:00:55 +02:00
Nico Rehwaldt 311e5d7bc7 chore(tests): convert BpmnTreeWalker test to ES5 2018-07-16 13:00:55 +02:00
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