Repositories / Excalidraw
Focused tour of drawing, rendering, history, and collaboration paths; not a whole-project map.
Element constructors that initialize the immutable shape fields used by the editor.
Stored evidence from this immutable analysis snapshot
export const newElement = (opts: {type: ExcalidrawGenericElement["type"];} & ElementConstructorOpts,): NonDeleted<ExcalidrawGenericElement> =>_newElementBase<ExcalidrawGenericElement>(opts.type, opts);