Files
excalidraw/packages/element
Mark Tolmacs 2cbceed76f fix(editor): estimate elbow arrow bends towards the arrival direction
The A* heuristic estimated the bends left to arrive at the end dongle
moving along the end heading, i.e. away from the end element, which the
search itself forbids. And the vertical same-heading cases compared the
other way around than the horizontal ones. Estimate them for arriving
against the end heading, consistently for all headings.

Routes stay the same (bar the choice between equally good ones), but
the search expands ~23% fewer nodes.

Signed-off-by: Mark Tolmacs <mark@lazycat.hu>
2026-11-19 18:34:46 +00:00
..

@excalidraw/element

Install

npm install @excalidraw/element

If you prefer Yarn over npm, use this command to install the Excalidraw utils package:

yarn add @excalidraw/element

With PNPM, similarly install the package with this command:

pnpm add @excalidraw/element