Skip to content

Commit

Permalink
Fix: diagram undefined DF endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
SecSimon committed Nov 1, 2024
1 parent 3bd0ad8 commit 08d463d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/app/modeling/diagram/diagram.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1288,6 +1288,7 @@ export abstract class CanvasBase {
if (movingObj[CProps.dfs]) {
movingObj[CProps.dfs].forEach(dfID => {
const dfObj = this.getCanvasElementByCanvasID(dfID);
if (!dfObj) return;
let isEnd = dfObj[CProps.fe2] == movingObj[CProps.canvasID];
let start = this.getFlowAnchorPoint(isEnd ? dfObj[CProps.fa2] : dfObj[CProps.fa1], movingObj);
let p = isEnd ? CProps.p2ID : CProps.p0ID;
Expand Down

0 comments on commit 08d463d

Please sign in to comment.