Skip to content

Conversation

@tortmayr
Copy link
Contributor

No description provided.

Copy link
Contributor

@martin-fleck-at martin-fleck-at left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Changes look good to me but I haven't had the time yet to try all the examples manually. Will do yo soon!

export class WorkflowEdgeCreationChecker implements EdgeCreationChecker {
isValidSource(edgeType: string, sourceElement: GModelElement): boolean {
return edgeType !== ModelTypes.WEIGHTED_EDGE && sourceElement.type === ModelTypes.DECISION_NODE;
return edgeType === ModelTypes.WEIGHTED_EDGE && sourceElement.type === ModelTypes.DECISION_NODE;
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good catch aligning that with the Java server!

@martin-fleck-at
Copy link
Contributor

@tortmayr Managed to test all the examples now. Found some minor issues, please have a look at the latest commit and if you agree, feel free to merge.

@tortmayr tortmayr merged commit 90df42f into master Jan 16, 2025
6 checks passed
@tortmayr tortmayr deleted the update branch January 16, 2025 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants