Repositories / Excalidraw
Focused tour of drawing, rendering, history, and collaboration paths; not a whole-project map.
Selects visible, renderable scene elements and memoizes the viewport-specific result.
Stored evidence from this immutable analysis snapshot
const elements = this.scene.getNonDeletedElements();const { elementsMap, newElementCanvasElement } =this.getRenderableElementsMap({elements,editingTextElement,newElement,});
const visibleElements = this.getVisibleCanvasElements({ elementsMap, zoom, offsetLeft, offsetTop, scrollX, scrollY, height, width, });