mirror of
https://github.com/excalidraw/excalidraw.git
synced 2026-11-25 07:04:47 +03:00
Elbow arrows keep a padding around the elements they connect, and enter the end element from the edge of it. When the end element is closer to the start's side than that (e.g. just below it), the route stepped aside to that edge first, with a few pixels' jog. When the elements can be connected with a single corner instead (leaving the start and entering the end the way they head, both legs clear of both elements, the legs with arrowheads long enough to fit them), that route is used, before (and instead of) routing on the grid. As a leg without an arrowhead can be short now, changing the arrowheads of an elbow arrow (from the picker, by flipping it, or by pasting styles) routes it again, to make room for them. Claude Opus 5.5 (xhigh)