Skip to content

Commit

Permalink
Deals with cases 5 and 6
Browse files Browse the repository at this point in the history
  • Loading branch information
Stargazer10101 committed Jan 10, 2025
1 parent 3dac6ae commit 8807df0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions frontend/src/components/views/Graph.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -189,8 +189,8 @@
const midY = (inConnectorY + outConnectorY) / 2 + (((inConnectorY + outConnectorY) / 2) % gridSpacing);
return [
{ x: outConnectorX, y: outConnectorY },
{ x: outConnectorX + gridSpacing - lineWidth, y: outConnectorY },
{ x: outConnectorX + gridSpacing - lineWidth, y: midY },
{ x: outConnectorX + gridSpacing - 2 * lineWidth, y: outConnectorY },
{ x: outConnectorX + gridSpacing - 2 * lineWidth, y: midY },
{ x: inConnectorX - gridSpacing + lineWidth, y: midY },
{ x: inConnectorX - gridSpacing + lineWidth, y: inConnectorY },
{ x: inConnectorX, y: inConnectorY },
Expand Down

0 comments on commit 8807df0

Please sign in to comment.