mirror of
https://github.com/excalidraw/excalidraw.git
synced 2026-11-20 21:23:22 +03:00
* fix(editor): Enter/Esc only close the shape switch popup Esc no longer also deselects, and Enter no longer enters text/line editing. * feat(editor): pick the flowchart Alt+arrow target by a single distance score Replace the in-line/linked/cone/past-edge tiers with one score per node (forward + (k * sideways)² / forward), so the nearest node that looks next in the pressed direction wins; links only break near-ties.
@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