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
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