Skip to content

Commit

Permalink
Update packages/dmn-editor/src/diagram/edges/usePotentialWaypointCont…
Browse files Browse the repository at this point in the history
…rols.ts

Co-authored-by: Tiago Bento <[email protected]>
  • Loading branch information
jomarko and tiagobento authored Sep 25, 2024
1 parent 20ebd51 commit e5eb1a0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -99,9 +99,9 @@ export function usePotentialWaypointControls(
);
return;
}

const edgeSourceBounds = edge.data?.dmnShapeSource["dc:Bounds"];
const edgeTargetBounds = edge.data?.dmnShapeTarget["dc:Bounds"];

if (edgeSourceBounds === undefined || edgeTargetBounds === undefined) {
console.debug(
`DMN DIAGRAM: We can not add DMNEdge for '${edgeId}' edge into diagram. There are missing data edgeSourceBounds: ${edgeSourceBounds}, edgeTargetBounds: ${edgeTargetBounds}`
Expand Down

0 comments on commit e5eb1a0

Please sign in to comment.