diff --git a/packages/module/src/components/edges/terminals/DefaultConnectorTerminal.tsx b/packages/module/src/components/edges/terminals/DefaultConnectorTerminal.tsx index 8fecc9d4..88bfb431 100644 --- a/packages/module/src/components/edges/terminals/DefaultConnectorTerminal.tsx +++ b/packages/module/src/components/edges/terminals/DefaultConnectorTerminal.tsx @@ -60,7 +60,7 @@ const DefaultConnectorTerminal: React.FunctionComponent } const bendPoints = edge.getBendpoints(); const defaultStartPoint = isTarget - ? edge.getBendpoints[bendPoints.length - 1] || edge.getStartPoint() + ? bendPoints[bendPoints.length - 1] || edge.getStartPoint() : bendPoints[0] || edge.getEndPoint(); const defaultEndPoint = isTarget ? edge.getEndPoint() : edge.getStartPoint(); const classes = css(styles.topologyEdge, className, StatusModifier[status]);