pedesen
58207e7db2
feat(DropOnFlowBehavior): drop existing elements on flows
...
Closes #695
2017-07-27 15:15:08 +02:00
pedesen
b1a544b84f
fix(dropOnFlowBehavior): ignore drop point if bendpoint is inside shape
...
Closes #696
2017-07-27 13:41:50 +02:00
Nico Rehwaldt
83f55b1fb1
fix(modeling): handle label layouting edge case
...
Related to #669
2017-05-03 15:02:52 +02:00
Nico Rehwaldt
7d896855a9
fix(modeling): correct label line attachments not being recognized
...
* remove rounding where it does not matter
* work around some precision errors in logic
* adjust test cases (to higher precision)
Closes #669
2017-05-03 15:02:52 +02:00
Nico Rehwaldt
2fd46ac294
fix(modeling/layout): handle zero-length lines during adjustment
...
Closes #669
2017-03-21 09:01:21 +01:00
Philipp Fromme
12d700fd14
fix(drop-on-flow): disallow drop on flow label
...
Closes camunda/camunda-modeler#548
2017-03-10 12:47:23 +01:00
Philipp Fromme
79e8378db0
fix(label-support): fix positioning of label created on shape create
...
* make sure label shape is created with correct size
* make sure test varifies behaviour
Closes camunda/camunda-modeler#535
2017-03-07 15:22:43 +01:00
Nico Rehwaldt
d1072471c4
fix(drop-on-sequence-flow): ensure correct behaviour
...
Closes #667
2017-03-02 11:45:34 +01:00
Philipp Fromme
81de98f786
feat(bpmn-renderer): use updated text util api
...
Related to bpmn-io/diagram-js#205
2017-03-02 10:55:40 +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
Philipp Fromme
db0ce65aa4
feat(graphics): remove snapsvg
...
Related to bpmn-io/diagram-js#50
2016-11-01 15:20:22 +01:00
pedesen
9010554282
chore(test): adjust existing test cases related to labels
...
Related to #601
2016-09-02 16:43:26 +02:00
hoferch91
a8cf097ed0
feat(modeling): retain waypoints with connection on shape deletion
...
When keeping the connection when the intermittant element,
make sure we keep the waypoints, too.
closes #581
2016-08-23 17:13:25 +02:00
Philipp Fromme
91cfcd9bac
fix(modeling): handle float bendpoints in label behavior
...
* silently round all values when doing circle-line intersection
closes #602
2016-08-10 13:14:56 +02:00
hoferch91
226a0d76ed
feat(replace): properly collapse / expand SubProcess(es)
...
* correctly toggle collapse / expand state
* update children visibility
Closes #575
Closes #510
review(collapse-expand)
2016-08-09 11:33:59 +02:00
Jan Stümmel
6c77e23692
fix(modeling): do not layout hidden labels
...
closes #587
2016-07-05 17:19:13 +02:00
Jan Stümmel
fd198b6059
feat(modeling): move labels with connections
...
* move on segment dragging
* move on reconnect
* move on bendpoint add / remove
Closes #331
2016-07-05 12:01:08 +02:00
Philipp Fromme
713021ecff
fix(outline): added test case for outline after element replace
...
Closes #579
2016-07-05 11:06:54 +02:00
Nico Rehwaldt
df54005cfa
feat(modeling): repair broken connection dockings on import
...
Closes #479
2016-06-27 00:32:17 +02:00
Philipp Fromme
6da1a0cb63
feat(replace): keep element ID on replace
...
Closes #513
2016-06-13 16:53:13 +02:00
Nico Rehwaldt
0ba239bbce
chore(project): switch to eslint
...
Use eslint instead of jshint for linting.
* better linting results
* test files linted, too
* consistent code style checks
Closes #568
2016-06-07 09:55:32 +02:00
Vladimirs Katusenoks
006be69d63
fix(associations): always show full data association
...
Closes #506
2016-05-09 14:36:06 +02:00
Vladimirs Katusenoks
28cc4e8e10
feat(i18n/build): add grunt task for translation extraction
...
Use `grunt extract-translations` to run extraction.
Will run all test cases to extract the available translations.
Closes #497
2016-05-03 17:31:49 +02:00
Ricardo Matias
b9b64f589b
fix(modeling): connections are properly removed
...
This fixes the loss of connections when moving a boundary
event outside of a subprocess.
Closes #480
2016-04-28 18:46:06 +02:00
Vladimirs Katusenoks
07a1ef29b6
fix(morphing): release id on element replace
...
Closes camunda/camunda-modeler#97
2016-04-21 11:50:36 +02:00
Philipp Fromme
7de043ab9d
fix(modeling): adjust position of hidden label on waypoints change
...
closes bpmn-io/diagram-js#158
2016-04-20 16:00:14 +02:00
Jan Stümmel
bb06a0386d
feat(modeling): combining two sequence flows when removing an element
...
combines only if removed element has one outgoing and one incoming sequence flow
Closes #433
2016-04-13 14:38:38 +02:00
Vladimirs Katusenoks
60720c8ae7
fix(modeling): unset gateway default on default flow delete
...
Closes #505
2016-04-04 17:24:01 +02:00
Nico Rehwaldt
1bceaaa229
chore(modeling): move BpmnLabelSupport to behavior
...
* Make sure the label support is part of our
behavior definitions.
* Adjust test cases accordingly.
2016-03-08 14:12:52 +01:00
Nico Rehwaldt
de8482e214
chore(dragging): update to new api
...
Related to bpmn-io/diagram-js#139
2016-01-27 16:11:20 +01:00
Nico Rehwaldt
3415d24290
test(modeling/behavior): rename files for clarity
2016-01-27 12:33:50 +01:00
Nico Rehwaldt
28e845984d
test(modeling): verify DataStore addition, update and removal
...
Related to #345
2016-01-27 12:02:02 +01:00
Nico Rehwaldt
206daa1154
fix(modeling): manhattan layout compensation association
...
Related to #291
2016-01-27 09:45:05 +01:00
Nico Rehwaldt
d7834e9bee
feat(replace): add compensation morph options
...
* compensation boundary
* compensation activity
Related to #291
2016-01-25 16:02:58 +01:00
Nico Rehwaldt
9ac0a9a957
fix(modeling): correctly populate DataInputAssociation#targetRef
...
Closes #431
2016-01-06 11:57:52 +01:00
Nico Rehwaldt
e00197d67a
chore(tests): migrate to (.not).exist matcher
...
Migrate parts of our test suite that rely on legacy
`.to.be.(un)defined` matchers to Chai's `.to(.not).exist`.
Closes #423
Closes #422
2015-12-03 13:08:56 +01:00
Nico Rehwaldt
f68054295b
feat(modeling): allow data associations from and to events
...
Closes #384
2015-10-22 08:21:01 +02:00
Ricardo Matias
a0bfc29482
fix(modeling): hide labels on element create
2015-10-07 15:19:55 +02:00
pedesen
08c2ebc78f
feat(modeling): add data objects
...
Closes #344
2015-10-07 15:15:57 +02:00
pedesen
3f6a7d5621
fix(tests): revise expectConnected and adjust test cases
2015-10-07 15:15:57 +02:00
Ricardo Matias
8a0f566ee3
feat(replace): add cancel events
...
Closes #337
2015-09-28 11:35:38 +02:00
pedesen
d831ed45b8
test(modeling/behavior): add test cases for boundary event connections
...
Related to #323
2015-09-01 16:31:24 +02:00
Nico Rehwaldt
b0ce4d834d
test(util): add MockEvents util + use in tests
...
* MockEvents provides a simple to use interface for creating
events globally or locally to the currently active DiagramJS
instance.
2015-08-24 16:02:21 +02:00
pedesen
1cdce93f5b
fix(selection): select element replacements after move
...
Closes #335
2015-08-21 13:46:21 +02:00
pedesen
fed7aefabe
chore(test): add test case for issue #326
2015-08-21 11:46:50 +02:00
Nico Rehwaldt
5c629a9889
chore(modeling/behavior): rename Remove{->Participant}Behavior
2015-08-19 17:24:49 +02:00
Nico Rehwaldt
3cb1721c89
chore(modeling): rename Modeling#move{Shapes->Elements}
...
Related to bpmn-io/diagram-js#107
BREAKING CHANGE:
* Modeling#moveShapes got renamed to Modeling#moveElements
* Id of command changed from 'shapes.move' to 'elements.move'
2015-08-13 10:51:52 +02:00
Nico Rehwaldt
485f83f026
test(modeling): simplify CreateBoundaryEventBehavior tests
2015-08-06 10:58:50 +02:00
Ricardo Matias
75dc681d46
feat(modeling): add boundary events behavior
...
This commit adds support for modeling boundery events.
Users may pull out the boundary events from the palette.
Closes #292
2015-07-22 17:23:31 +02:00
pedesen
363ce892c9
fix(modeling): sequence flow can be reconnected to participant
...
Closes #315
2015-07-20 16:48:44 +02:00