@eclipse-glsp-examples/workflow-server-bundled 2.3.0-next.111 → 2.3.0-next.112
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@eclipse-glsp-examples/workflow-server-bundled",
|
|
3
|
-
"version": "2.3.0-next.
|
|
3
|
+
"version": "2.3.0-next.112+a9ed9ad",
|
|
4
4
|
"description": "GLSP node server for the workflow example (bundled)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"eclipse",
|
|
@@ -49,5 +49,5 @@
|
|
|
49
49
|
"publishConfig": {
|
|
50
50
|
"access": "public"
|
|
51
51
|
},
|
|
52
|
-
"gitHead": "
|
|
52
|
+
"gitHead": "a9ed9ad7e3fec636dd13c455b7931c0894cbe486"
|
|
53
53
|
}
|
package/wf-glsp-server-node.js
CHANGED
|
@@ -2171,7 +2171,7 @@ const graph_extension_1 = __webpack_require__(/*! ./graph-extension */ "./lib/co
|
|
|
2171
2171
|
const model_types_1 = __webpack_require__(/*! ./util/model-types */ "./lib/common/util/model-types.js");
|
|
2172
2172
|
let WorkflowEdgeCreationChecker = class WorkflowEdgeCreationChecker {
|
|
2173
2173
|
isValidSource(edgeType, sourceElement) {
|
|
2174
|
-
return edgeType
|
|
2174
|
+
return edgeType === model_types_1.ModelTypes.WEIGHTED_EDGE && sourceElement.type === model_types_1.ModelTypes.DECISION_NODE;
|
|
2175
2175
|
}
|
|
2176
2176
|
isValidTarget(edgeType, sourceElement, targetElement) {
|
|
2177
2177
|
return (targetElement instanceof graph_extension_1.TaskNode || targetElement.type === model_types_1.ModelTypes.FORK_NODE || targetElement.type === model_types_1.ModelTypes.JOIN_NODE);
|