feat(modeling): add reconnect rule
This commit is contained in:
parent
bdc3b70b2a
commit
ea9eacea6b
|
@ -105,6 +105,15 @@ BpmnRules.prototype.init = function() {
|
|||
return canConnect(source, target, connection);
|
||||
});
|
||||
|
||||
this.addRule('connection.reconnect', function(context) {
|
||||
|
||||
var connection = context.connection,
|
||||
source = context.source,
|
||||
target = context.target;
|
||||
|
||||
return canConnect(source, target, connection);
|
||||
});
|
||||
|
||||
this.addRule('connection.updateWaypoints', function(context) {
|
||||
return {
|
||||
type: context.connection.type
|
||||
|
|
Loading…
Reference in New Issue