Repositories / Excalidraw
Focused tour of drawing, rendering, history, and collaboration paths; not a whole-project map.
Select a flow to inspect its ordered source evidence.
Follows changed elements from the collaboration coordinator into the Portal's encrypted socket broadcaster. This path stops at outbound transport and does not imply receipt by another client.
Begins at the decrypted UPDATE listener, enters deterministic core reconciliation, and applies the remote scene with local capture disabled. It does not claim a direct connection to the outbound send path.
Traces a rectangle from the canvas pointer handler through element construction, ordered scene insertion, viewport selection, and canvas painting.
Follows visible scene data through the memoized viewport selector, React canvas effect, static renderer, and element-level painter.
Shows how an undo command delegates to the history stack, applies the inverse delta, and queues the resulting durable store increment.
Focused flow
Shows how an undo command delegates to the history stack, applies the inverse delta, and queues the resulting durable store increment.
The undo action checks the editor boundary and delegates the current element map to History.
History pops the undo stack, applies the inverse entry, and moves the inverse onto the redo stack.
The Store queues the resulting change and delta so history and synchronization observe one captured update.