From 0a72256c2c1af654f2f3c87ec1bb409babde4401 Mon Sep 17 00:00:00 2001 From: Hyein Date: Wed, 24 Jun 2026 10:59:35 +0900 Subject: [PATCH] Use orthogonal skip relation lines --- src/App.jsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/App.jsx b/src/App.jsx index 6f71a25..766e300 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1785,7 +1785,7 @@ function RelationTreePanel({ : getSkipLaneX(fromLevel); const pathD = isSkipEdge ? isRightSkipEdge - ? `M ${from.x + miniNodeWidth} ${from.y + miniNodeHeight / 2} C ${laneX} ${from.y + miniNodeHeight + 34}, ${laneX} ${to.y - 48}, ${toCenterX} ${to.y - 8}` + ? `M ${from.x + miniNodeWidth} ${from.y + miniNodeHeight / 2} H ${laneX} V ${to.y - 18} H ${toCenterX} V ${to.y - 8}` : `M ${from.x} ${from.y + miniNodeHeight / 2} H ${laneX} V ${to.y + miniNodeHeight / 2} H ${isInnermostSkipEdge ? to.x - 8 : innermostLaneX}` : Math.abs(fromCenterX - toCenterX) < 6 ? `M ${fromCenterX} ${startY} L ${toCenterX} ${endY - 8}`