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
Nico Rehwaldt
37a06a378d
chore(tests): use absolute lib requires
2018-01-24 11:41:21 +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
81de98f786
feat(bpmn-renderer): use updated text util api
...
Related to bpmn-io/diagram-js#205
2017-03-02 10:55:40 +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
pedesen
a53562e1d5
feat(BpmnRenderer): text annotations automatically fit their content
...
Closes #600
2016-11-09 08:23:34 +01:00
pedesen
5916e81222
chore(test): rework positioning test cases
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
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
9c236b0d9e
test(snapping): verify participant snapping on create
2016-06-22 17:04:42 +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
Ricardo Matias
6e8962574b
revert(textarea): support automatic-resizing textarea
...
This reverts commit 11165e2c21
.
2016-05-18 08:17:03 +02:00
hoferch91
11165e2c21
fix(textarea): support automatic-resizing textarea
...
Closes #472
2016-05-02 11:26:19 +02:00
Nico Rehwaldt
a41f5d034e
test(snapping): fix missing modeling module
2016-03-23 09:30:44 +01:00
hoferch91
0393d51893
chore(modeling): set minimum height to one line
...
Closes #402
2016-03-07 09:11:45 +01:00
Nico Rehwaldt
2c3767a0e7
test(snapping): fix BpmnSnappingUtil tests
2015-10-23 11:35:41 +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
e78e4c94a3
test(matchers): add custom .bounds matcher
...
Closes #349
2015-09-02 14:36:39 +02:00
Nico Rehwaldt
f8d6658c10
fix(import): import elements with missing #flowNodeRef
...
We now properly import lane children with missing #flowNodeRef.
Closes #340
2015-08-25 15:49:00 +02:00
Nico Rehwaldt
834f1844ec
feat(snapping): snap participant to child lane border
2015-08-24 16:59:13 +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
Nico Rehwaldt
42b66b1602
chore(project): move {modeling->}/rules
...
This syncs the bpmn-js structure with diagram-js.
2015-08-21 17:34:41 +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
c3e4ad3e40
test(project): replace jasmine with mocha
...
Closes #204
2015-07-15 17:42:37 +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
4f236382a0
fix(modeling): adjust default size for participants
...
From 600x300 -> 600x250.
Closes #262
2015-05-06 16:51:01 +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
de648520d5
feat(modeling): snap initial participant to diagram contents
...
Closes #241
2015-04-16 18:30:04 +02:00