diff --git a/lib/features/rules/BpmnRules.js b/lib/features/rules/BpmnRules.js index 3256da62..1a364a42 100644 --- a/lib/features/rules/BpmnRules.js +++ b/lib/features/rules/BpmnRules.js @@ -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