Files
excalidraw/packages/element
David Luzar dc7296b9d9 feat(editor): ellipse arcs (pie wedges)
- `ellipse` gets `arc: { start, sweep } | null` (radians, clockwise from 3 o'clock); the element's box stays the whole ellipse's
- `ellipseArc` in @excalidraw/sloppy replaces roughjs's `arc`
- a wedge is hit, box-selected, lassoed and bound to along what's drawn of it; flips mirror it and its bound arrows
- stats panel: Sweep and Start in percent of a turn, the start from 12 o'clock
- duplicating a single wedge stacks the copy as the pie's next slice
- a single selected wedge shows the rest of its ellipse dashed
2026-12-03 23:12:59 +01:00
..
2026-12-01 22:17:47 +01:00
2026-12-01 22:17:47 +01: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