Philipp Fromme
91f92b3de5
chore(connect-snapping): remove unused dependency
2019-11-19 16:54:41 +01:00
Philipp Fromme
bdc3b70b2a
chore(connect-snapping): snap correctly
2019-11-18 13:38:19 +01:00
Philipp Fromme
2e27d74306
feat(modeling): copy and paste boundary events
...
* allow copying boundary events without host
* remove CreateBoundaryEventBehavior in favor of AttachEventBehavior
Closes #1154
Closes #1202
Closes #1204
Closes #1205
2019-10-13 23:19:52 +02:00
Philipp Fromme
83e9f05efa
fix(connect-snapping): snap to sub process mid
...
Related to camunda/camunda-modeler#1436
2019-09-13 14:29:38 +00:00
Oguz Eroglu
86c61b0c0d
fix(snapping): snap to task mid
...
Related to https://github.com/camunda/camunda-modeler/issues/1436
2019-09-11 16:56:40 +02:00
Nico Rehwaldt
3b4251967d
feat(snapping): add TRBL snapping against containers
...
Adds TRBL snapping with containers only.
Closes #1104
2019-06-27 13:09:22 +00:00
Niklas Kiefer
9b9ff934d2
feat(snapping): snap to task mid on center interaction
...
Closes #1086
2019-06-19 13:26:17 +00:00
Niklas Kiefer
cfad2f49aa
feat(snapping): restore center snapping for Gateways and Events
...
Closes #1079
2019-06-19 13:26:17 +00:00
Philipp Fromme
bef75b2435
fix(snapping): snap to docking points
...
Closes #1081
2019-06-17 18:54:28 +00:00
Maciej Barelkowski
a09e0a3bed
feat(bpmn-snapping): snap boundary event loop when close to source
...
Closes #903
2019-06-12 20:46:39 +02:00
Maciej Barelkowski
d80076a034
feat(bpmn-snapping): snap inside the target instead of target center
2019-06-12 20:46:39 +02:00
Philipp Fromme
a98c8e3bc8
chore(bpmn-snapping): seperate snapping into create/move and connect
...
* move create/move snapping to BpmnCreateMoveSnapping
* move connect snapping to BpmnConnectSnapping
* refactor tests
Related camunda/camunda-modeler#1290
2019-06-05 14:36:39 +02:00
Philipp Fromme
d42d5e3448
chore(resize-behavior): move resize behavior to seperate behavior
...
* setting minimum bounds and resize constraints moved to ResizeBehavior
Related to #1290
2019-06-05 14:36:39 +02:00
Philipp Fromme
5e199694a1
chore(bpmn-snapping): use injector to call super
2019-06-05 14:36:39 +02:00
Philipp Fromme
ca12ac91a4
chore(bpmn-snapping): move participant fitting to participant behavior
...
Related to #1290
2019-06-05 14:36:39 +02:00
Niklas Kiefer
643ca2193c
fix(snapping): prevent participants snap to group bounds
2019-05-29 06:42:54 +00:00
Philipp Fromme
62d7746e81
feat(bpmn-snapping): snap shape to itself
...
Closes #993
2019-05-13 07:25:26 +00: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
pedesen
fcd1e2f12c
feat(snapping): add initial snapping for associations
...
Snap to target mid when creating associations.
Closes #782
2018-04-11 13:55:16 +02:00
Nico Rehwaldt
9be61259bd
chore(project): drop 'use strict'
...
We use ES modules, so 'use strict' is not necessary anymore.
2018-04-03 18:09:53 +02:00
Nico Rehwaldt
d3449ca87c
chore(project): es6ify source code
...
* use ES6 import / export
* UTILS: export individual utilities
* TESTS: localize TestHelper includes
BREAKING CHANGE:
* all utilities export independent functions
* library sources got ported to ES6. You must now use
a ES module bundler such as Browserify + babelify or
Webpack to consume this library (or parts of it).
2018-04-03 16:32:14 +02:00
TheSharpieOne Bot
245d1d6a96
chore(project): upgrade lodash to min-dash
2018-03-22 11:59:39 +01:00
Nico Rehwaldt
b03014fc2c
chore(project): update to new lint style
2018-02-27 10:08:31 +01:00
Nico Rehwaldt
19e4e19bb5
chore(project): migrate to new SECTION comments
2018-02-27 09:57:22 +01:00
Nico Rehwaldt
a830c1e1e0
chore(snapping): remove dead code
...
* we don't support moving of lanes;
the removed code never made it into production.
2017-12-11 15:40:40 +01:00
Nico Rehwaldt
e9eb9e374a
fix(snapping): correct bendpoint snapping on shape move
...
Don't blindly snap first waypoint; instead, snap only bendpoints
that are manhattan layout aligned with other bendpoints (excluding
start and end).
2017-12-10 13:48:46 +01:00
pedesen
b234f17244
feat(snapping) snap on sequence flows
...
Closes #398
2017-07-27 13:41:45 +02:00
Philipp Fromme
7fdd9bc611
fix(snapping): snap sequence flows mid -> mid
...
With the latest version of bpmn-js it is possible to draw point
top point connections between elements.
This restores the mid -> mid connection snapping for sequence flows.
Closes #588
2016-07-18 12:59:06 +02:00
Nico Rehwaldt
1743c63d91
style(snapping): use constant instead of magic number
2016-06-22 18:15:20 +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
hoferch91
0393d51893
chore(modeling): set minimum height to one line
...
Closes #402
2016-03-07 09:11:45 +01:00
Nico Rehwaldt
4ea70a05de
fix(snapping): remove prev/next resize constraints for unbalanced resize
2015-10-22 20:35:34 +02:00
Nico Rehwaldt
fefc748a9a
feat(snapping): add lane snapping
2015-10-20 15:47:12 +02:00
pedesen
536eb790a0
fix(snapping): boundary event labels snap to siblings
...
Closes #327
2015-09-07 15:08:59 +02:00
Nico Rehwaldt
834f1844ec
feat(snapping): snap participant to child lane border
2015-08-24 16:59:13 +02:00
Nico Rehwaldt
ece7b7d597
feat(snapping): snap boundary events
...
This adds immediate feedback when creating and moving boundary events.
* During move, boundary events are snapped, if attachment is allowed
* Boundary events snap to their siblings and not to elements inside
the host
Closes #320
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
88f91d342b
feat(replace): model collapsed subprocesses using the replace menu
...
Closes #303
2015-07-03 15:54:36 +02:00
Nico Rehwaldt
a04d03da44
chore(snapping): add tests + adjust min participant size
...
Related to #299
2015-06-10 15:58:52 +02:00
Nico Rehwaldt
19673a340c
test(snapping): add participant snapping test case
...
Related to #290
2015-06-03 17:48:40 +02:00
Ricardo Matias
cced954f37
fix(snapping): add participant specific min resize bounds
...
closes #290
2015-06-03 17:47:58 +02:00
Nico Rehwaldt
084d831d9e
feat(modeling): add generic create-on-flow
...
Closes #232
2015-06-02 14:22:58 +02:00
Ricardo Matias
6fc512b477
feat(resize): snap to minimum bounds during resize
...
closes #252
2015-05-04 15:32:36 +02:00
Nico Rehwaldt
af9ce652e2
feat(snapping): snap to source element
...
This ensures we snap to a source element if one is provided, i.e. during
shape.append.
2015-04-29 15:04:54 +02:00
Nico Rehwaldt
b233ab957c
feat(snapping): add bpmn-specific move snapping
...
This commit adds message flow + collaboration specific snapping by
subclassing the diagram-js provided default Snapping implementation.
* Add collaboration snapping
* Rename lib/util/{Name}.js -> lib/util/{Name}Util.js
Closes #255
2015-04-29 15:04:54 +02:00
Nico Rehwaldt
de648520d5
feat(modeling): snap initial participant to diagram contents
...
Closes #241
2015-04-16 18:30:04 +02:00