Commit Graph

916 Commits

Author SHA1 Message Date
Nico Rehwaldt a03288b49d chore(project): bump dependencies
* diagram-js bug fix release
* bpmn-moddle fixes with support for <meta> attribute (used for
  proper copying of elements)
2017-01-30 16:38:43 +01:00
Ricardo Matias b37182b53b feat(util/model): make property cloning pluggable
This introduces a 'property.clone' event that allows
plugging into the cloning mechanism when cloning
nested extension elements.

Related to camunda/camunda-bpmn-moddle#35
2017-01-30 16:38:43 +01:00
Ricardo Matias 2ecb9aeae4 feat(copy-paste): clone properties when morphing to new element
Closes #648
2017-01-30 16:38:43 +01:00
Ricardo Matias 432d7f4b7c fix(replace): assign passed properties to businessObject before cloning 2017-01-30 16:23:57 +01:00
Ricardo Matias 2dcfb1b3c9 feat(util/model): improve the way we clone properties
Now we make sure we don't copy id or
reference properties/elements.
2017-01-30 16:23:56 +01:00
Ricardo Matias af9a36b9b6 feat(replace): clone properties when morphing to new element
Closes #647
2017-01-30 16:23:56 +01:00
Nico Rehwaldt dc78c86551 Revert "chore(project): bump object-refs"
This reverts commit decd23360a.

Reason: Not needed at the moment.
2017-01-30 13:32:29 +01:00
Ricardo Matias def402971c feat(modeling): add move onto sequence flow
This adds the ability to move flow nodes onto existing
sequence flows (similar to the create on flow behavior
implemented with an earlier bpmn-js release).

Closes camunda/camunda-modeler#432
2017-01-27 15:31:26 +01:00
Christian Kaps 6dc4af5396 feat(Viewer): allow dynamic attach / detach from DOM
Closes #655

BREAKING CHANGE:

* Viewer / Modeler do not attach to `body` anymore per
  default. Use `new Viewer({ container: 'body' })` to
  restore the old behavior.
2017-01-27 13:28:27 +01:00
Nico Rehwaldt decd23360a chore(project): bump object-refs
* fixes inverse de-referencing of 1:n properties
2017-01-27 09:24:24 +01:00
Ricardo Matias a9b68b69e0 feat(replace): clone properties when morphing to new element
Closes #647
2017-01-12 16:02:31 +01:00
Ricardo Matias 3d0adc6493 feat(bpmn-clone): add ability to clone bpmn properties
This will allow a complete semantic copy/paste and replace of elements

Closes #646
2017-01-11 09:01:09 +01:00
Philipp Fromme 1f667e0184 fix(move-to-origin): ignore children of subprocesses
Closes camunda/camunda-modeler#444
2017-01-09 14:36:58 +01:00
Nico Rehwaldt dd60e47136 chore(project): release v0.19.0 2016-12-21 10:40:53 +01:00
Nico Rehwaldt 27d65a6503 fix(draw): do not create multiple markers per (type-stoke-fill) 2016-12-20 16:57:09 +01:00
Nico Rehwaldt e2211766eb chore(draw): use positive refX for rendering default flow marker
Fixes PNG image generation using canvg.

Related to camunda/camunda-modeler#250
2016-12-20 16:56:53 +01:00
Nico Rehwaldt c89942fc4c fix(rules): correct and verify data association in sub process move
Related to #638
2016-12-19 15:57:34 +01:00
Nico Rehwaldt 8b0001f709 test(import): verify data-association in collaboration import
* Restructure association import test fixtures
* Add data-association + collaboration test cases

Related to #638
2016-12-19 15:33:42 +01:00
Nico Rehwaldt bf133bb8da fix(rules): allow data-association + participant move
Closes #638
2016-12-19 15:33:42 +01:00
Philipp Fromme c308151474 feat(editor-actions): add set color editor action
Related to camunda/camunda-modeler#445
2016-12-13 13:02:25 +01:00
Nico Rehwaldt 7f99263a5e fix(draw): color Transaction inner rect 2016-12-05 21:55:12 +01:00
Philipp Fromme a2f33b8e93 feat(modeling): add API for setting fill/stroke color
Closes #629
2016-12-05 17:01:04 +01:00
Philipp Fromme e35248c5fd test(draw): add skipped test for color rendering 2016-12-05 16:55:36 +01:00
Philipp Fromme 8c26699d80 feat(draw): render colored markers
Related to #629
2016-12-05 16:55:32 +01:00
Philipp Fromme 4059f2c501 feat(draw): render colors
Related to #629
2016-12-05 16:53:33 +01:00
Nico Rehwaldt eab9ac9bef chore(project): bump bpmn-moddle dependency
* adds support bioc:{fill,stroke} and rendering
  colors
2016-12-05 16:53:33 +01:00
Nico Rehwaldt 07aa4de80b chore(project): release v0.18.4 2016-12-01 15:40:17 +01:00
Nico Rehwaldt 2beddede23 chore(project): update diagram-js dependency
Closes #636
2016-12-01 15:37:06 +01:00
Nico Rehwaldt 80cfd36876 chore(project): release v0.18.3 2016-12-01 13:33:56 +01:00
Nico Rehwaldt 404c35c97f fix(BpmnRenderer): revert text annotations automatic content fitting
This reverts commit a53562e1d5.

Closes #635
2016-12-01 13:27:30 +01:00
Nico Rehwaldt eda7f9afeb test(project): add another Firefox / Travis CI adjustment 2016-11-18 15:14:14 +01:00
Ricardo Matias 983d89e1c4 chore(project): release v0.18.2 2016-11-18 15:13:20 +01:00
Nico Rehwaldt a2d7140cdf fix(Viewer): correctly export SVG
Use upstream patch of tiny-svg to address this.

Closes #631
2016-11-18 15:11:31 +01:00
Nico Rehwaldt 4d01cebe76 test(project): adjust to pass on Firefox / Travis CI 2016-11-18 15:03:59 +01:00
Nico Rehwaldt 37368ff661 chore(tests): run against Firefox, too 2016-11-18 14:52:26 +01:00
Nico Rehwaldt 791ccb75b2 test(project): increase single test timeout to pass on FF 2016-11-18 14:50:45 +01:00
Nico Rehwaldt 3bbbfab5bc chore(project): release v0.18.1 2016-11-15 15:14:53 +01:00
Nico Rehwaldt 06915e2e6b chore(project): update diagram-js version 2016-11-15 15:14:29 +01:00
Nico Rehwaldt 1b2a69e9cc chore(renderer): do not double compote TextAnnotation BBox 2016-11-15 15:14:10 +01:00
Philipp Fromme d05fd2c2df chore(project): release v0.18.0 2016-11-11 10:35:48 +01:00
Philipp Fromme 611d5fdfe7 chore(project): bump dependencies 2016-11-11 10:35:07 +01:00
Philipp Fromme d5fa27ead2 feat(bpmn-rules): replace start events only allowed in event sub process
this includes the following event definitions:

* error
* escalation
* compensate

Closes #583
2016-11-09 14:44:42 +01:00
pedesen 42a40494a7 fix(BpmnRenderer): draw instantiated receive task properly
* fix drawCircle parameter issue
* make BpmnRenderer test cases more restrictive
* revise inconsistent fixture diagrams to avoid warnings

Closes #627
2016-11-09 10:59:58 +01:00
pedesen a53562e1d5 feat(BpmnRenderer): text annotations automatically fit their content
Closes #600
2016-11-09 08:23:34 +01:00
pedesen 651ed729a8 chore(project): update tiny-svg dependency and wiredeps 2016-11-09 08:23:34 +01:00
pedesen ad7fcbbd50 chore(project): update diagram-js-origin dependency 2016-11-08 11:32:20 +01:00
pedesen aa2b68f1f2 chore(project): update tiny-svg dependency 2016-11-07 17:05:49 +01:00
Ricardo Matias 88eb966c99 fix(editor-actions): remove duplicate line 2016-11-07 15:16:59 +01:00
pedesen 5916e81222 chore(test): rework positioning test cases 2016-11-01 15:20:22 +01:00
pedesen 992b988ee9 chore(wiredeps): add tiny-svg 2016-11-01 15:20:22 +01:00