Architecture

PATH LAYER GRAPH LAYER NODE LAYER OUTPUT types.ts 248 lines · core types commands.ts 389 lines · encode/decode/SVG PathBuilder fluent API · chainable bounds.ts bbox · cubic curves VectorGraph DAG model · cycle detection 256 lines GraphExecutor topo sort · dirty caching 216 lines HistoryManager undo/redo · graph diffs 216 lines SceneBuilder graph → scene tree NodeRegistry register · resolve node types Generators rectangle · ellipse polygon · star · arc spiral · arrow · line Transforms translate · rotate scale · skew compose Style fill · stroke opacity · blend-mode Path Operations boolean · reverse · close · join · break · clip vector-wasm PathOpsBackend · mock SVG Exporter sceneToSvg · 206 lines Public API index.ts · 83 exports All layers: 100% test coverage — 3,360 lines of tests across 12 test files