Skip to content

Commit

Permalink
GLSP-1369 Fix wrong edge type hint (#93)
Browse files Browse the repository at this point in the history
- Ensure that the type hint for weighted edges if created with the correct `elementTypeId`

Part of eclipse-glsp/glsp#1369
  • Loading branch information
tortmayr authored Jul 15, 2024
1 parent 8702f4d commit 951ddf1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ export class WorkflowDiagramConfiguration implements DiagramConfiguration {
return [
createDefaultEdgeTypeHint(DefaultTypes.EDGE),
createDefaultEdgeTypeHint({
elementTypeId: DefaultTypes.EDGE,
elementTypeId: types.WEIGHTED_EDGE,
dynamic: true,
sourceElementTypeIds: [types.ACTIVITY_NODE],
targetElementTypeIds: [types.TASK, types.ACTIVITY_NODE]
Expand Down

0 comments on commit 951ddf1

Please sign in to comment.