Repositories / Excalidraw
Focused tour of drawing, rendering, history, and collaboration paths; not a whole-project map.
Main editor component that turns pointer input into element creation and scene updates.
Stored evidence from this immutable analysis snapshot
element = newElement({type: elementType,...baseElementAttributes,});}if (element.type === "selection") {this.setState({selectionElement: element,
}); } else { this.insertNewElement(element); this.setState({ multiElement: null, newElement: element, });