Skip to content

Commit 951ddf1

Browse files
authored
GLSP-1369 Fix wrong edge type hint (#93)
- Ensure that the type hint for weighted edges if created with the correct `elementTypeId` Part of eclipse-glsp/glsp#1369
1 parent 8702f4d commit 951ddf1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

examples/workflow-server/src/common/workflow-diagram-configuration.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ export class WorkflowDiagramConfiguration implements DiagramConfiguration {
6363
return [
6464
createDefaultEdgeTypeHint(DefaultTypes.EDGE),
6565
createDefaultEdgeTypeHint({
66-
elementTypeId: DefaultTypes.EDGE,
66+
elementTypeId: types.WEIGHTED_EDGE,
6767
dynamic: true,
6868
sourceElementTypeIds: [types.ACTIVITY_NODE],
6969
targetElementTypeIds: [types.TASK, types.ACTIVITY_NODE]

0 commit comments

Comments
 (0)