Nico Rehwaldt
86506468ba
feat(Modeler): re-integrate grid snapping
2019-04-26 18:31:36 +00:00
Philipp Fromme
fa2e472361
feat(grid-snapping): integrate auto resize
...
Related to camunda/camunda-modeler#1344
Related to camunda/camunda-modeler#1349
2019-04-26 18:31:36 +00:00
Philipp Fromme
3b756e0725
feat(grid-snapping): snap resizable elements top-left
...
Related to camunda/camunda-modeler#1344
2019-04-26 18:31:36 +00:00
Nico Rehwaldt
369209ed59
3.4.1
2019-04-25 20:40:30 +02:00
Nico Rehwaldt
b4c79922bb
chore(CHANGELOG): update to v3.4.1
2019-04-25 20:37:06 +02:00
Nico Rehwaldt
2935b23ee4
test(modeling/behavior): reorganize label positioning behavior specs
2019-04-25 16:27:58 +02:00
Nico Rehwaldt
8df95ed754
chore(project): semver bump dependencies
2019-04-25 10:55:00 +02:00
Nico Rehwaldt
bb96aff0da
3.4.0
2019-04-25 10:51:39 +02:00
Nico Rehwaldt
e9a271a1c5
chore(project): bump dev dependency
2019-04-25 10:37:14 +02:00
Nico Rehwaldt
cf48469839
chore(project): bump to diagram-js@3.3.0
2019-04-25 10:35:17 +02:00
Nico Rehwaldt
e81dd3d303
chore(CHANGELOG): update to v3.4.0
2019-04-25 10:33:25 +02:00
Maciej Barelkowski
b72426834d
chore(Modeler): disable grid snapping
2019-04-25 10:21:05 +02:00
Maciej Barelkowski
06ffc9d407
fix(modeling/BpmnLayouter): properly lay out boundary event connections
...
Closes #891
2019-04-24 11:56:01 +00:00
Maciej Barelkowski
5438f1a0c2
chore(modeling/BpmnLayouter): refactor boundary event layout
2019-04-24 11:56:01 +00:00
Gustavo E. Jimenez Folta
0f7b8f483c
feat(replace): auto-resize height when toggling pool collapse/expand
2019-04-23 15:56:50 +02:00
Nico Rehwaldt
a40b95cf2f
test(modeling): verify connection layouting on element removal
...
Closes #989
2019-04-18 18:15:31 +02:00
Maciej Barelkowski
55ca4c8f3d
chore(modeling/label): adjust label position to laid out connection
...
Closes #718
2019-04-18 16:06:44 +00:00
Maciej Barelkowski
6c191590b5
test(modeling/layout): expect layout on reconnect end
2019-04-18 16:06:44 +00:00
Maciej Barelkowski
411da58d43
chore(modeling): remove reconnect listeners
...
Listeners are triggered via layout event.
2019-04-18 16:06:44 +00:00
Maciej Barelkowski
6a396fb947
test(modeling/layout): add integration test for reconnection
2019-04-18 16:06:44 +00:00
Philipp Fromme
76ed2b4c26
fix(tests): fix Firefox
2019-04-18 14:42:01 +00:00
Nico Rehwaldt
65e4a1ab19
test(draw): double check marker coloring
...
* improves color detection to not fail on CI
* verifies message flow markers are being re-used
2019-04-18 14:42:01 +00:00
Nico Rehwaldt
f106187a98
test(draw): in-source colors diagram
...
* don'r rely on diagram in fixtures
2019-04-18 14:42:01 +00:00
Nico Rehwaldt
13e3752f94
fix(draw): render hex and rgb encoded color markers
...
Until now we did not properly sanitize the IDs we create for colored
markers. This would make the marker retrival fail with fill and
stroke colors encoded in hex and rgb(a, b, c) form.
This commit improves the situation by removing forbidden chars from
the marker ID.
Closes #981
Related to camunda/camunda-modeler#1342
2019-04-18 14:42:01 +00:00
Maciej Barełkowski
cfe0da7315
chore(PULL_REQUEST_TEMPLATE): fix typo
2019-04-18 16:07:18 +02:00
Maciej Barelkowski
0affb3b3bc
test(Viewer): simplify multiple-diagrams test cases
2019-04-16 15:20:12 +02:00
Maciej Barelkowski
87c1d2d142
test(Viewer): expect no warnings when DIs use same elements
2019-04-16 15:20:12 +02:00
Maciej Barelkowski
a7c0bb8f57
test(Viewer): make sure it opens only selected diagram
2019-04-16 15:20:12 +02:00
Nico Rehwaldt
7b03e5289a
test(import): verify duplicate DI import behavior
2019-04-16 15:20:12 +02:00
Nico Rehwaldt
ba987734f8
test(Viewer): make diagram names human readable
2019-04-16 15:20:12 +02:00
Nico Rehwaldt
2f99cff34a
test(Viewer): verify non-args #open
2019-04-16 15:20:12 +02:00
Nico Rehwaldt
b1ee678fe3
test(Viewer): split config -> container handling into own describe
2019-04-16 15:20:12 +02:00
Nico Rehwaldt
a78f8037c7
test(Viewer): group multiple diagram handling
2019-04-16 15:20:12 +02:00
Nico Rehwaldt
daee95743d
chore(Viewer): type BPMNDiagram arg where possible
2019-04-16 15:20:12 +02:00
Valerio Spadaro
3f0583ad5f
feat(Viewer): add #open method
...
This adds a method to switch displayed diagram without reimporting
xml via
```
var viewer = new Viewer({ container: container });
viewer.importXML(xml, diagramId, done);
var diagrams = viewer.getDefinitions().diagrams;
viewer.open(diagrams[1], done);
```
2019-04-16 15:20:12 +02:00
Valerio Spadaro
1c0585aaaf
feat(Viewer): allow to select diagram to view
...
This introduces a new parameter to `Viewer#importXML`
which enables to choose the diagram to display.
```
var viewer = new Viewer({ container: container });
viewer.importXML(xml, diagramId, done);
```
Closes #87
2019-04-16 15:20:12 +02:00
Maciej Barelkowski
0c71ad30a0
feat(Viewer): remove businessObject#di binding on #clear
...
Closes #978
2019-04-16 15:10:43 +02:00
Maciej Barelkowski
00b7d9ecc2
fix(import/BpmnTreeWalker): pass context to unhandled process handler
2019-04-16 09:15:14 +00:00
Nico Rehwaldt
eadcbc0a7b
chore(project): bump dev dependencies
2019-04-12 17:42:41 +02:00
Nico Rehwaldt
e9f99b00c7
chore(ci): add wiredeps script
2019-04-12 17:42:08 +02:00
Philipp Fromme
b596c6dd06
feat(snapping): add grid snapping
...
Related to #973
2019-04-12 17:42:08 +02:00
Nico Rehwaldt
9c8294e2c2
chore(project): update screencast
...
* higher resolution
* smaller in size
2019-04-11 09:35:56 +02:00
Nico Rehwaldt
0edd79fe22
chore(CHANGELOG): update
2019-04-10 21:13:50 +02:00
Maciej Barelkowski
8eced8a3fb
test(modeling): ensure layout is done after element removal
...
* adjust test suite to pass with diagram-js@3.2
* verify new cropping behavior
* verify #940 is fixed
2019-04-10 19:08:49 +00:00
Maciej Barelkowski
6f7925080c
chore(modeling/BpmnUpdater): remove now unnecessary crop on reconnect
...
As of diagram-js@3.2.0 layouting will be triggered
on reconnectStart / reconnectEnd.
Related to #940
2019-04-10 19:08:49 +00:00
Maciej Barelkowski
bc586d0d52
chore(project): bump diagram-js
...
Closes #940
2019-04-10 19:08:49 +00:00
Nico Rehwaldt
11e286593d
chore(project): bump dev dependencies
...
This mitigates several security audit warnings.
2019-04-09 16:59:53 +02:00
Nico Rehwaldt
6c59388b04
chore(CHANGELOG): update
...
* add forgotten about entries
2019-04-09 15:55:50 +02:00
Gustavo E. Jimenez Folta
efc68be2d4
3.3.1
2019-04-08 10:44:19 +02:00
Gustavo E. Jimenez Folta
990816b2a0
chore(CHANGELOG): update to v3.3.1
2019-04-08 10:38:42 +02:00