Technical notes on web development, DevOps, and AI integration.
1 article
A generated diagram file opened fine but held zero rects and zero edges. The cause was an attach contract that nothing was checking.
TL;DR: While finishing an architecture report, the author found SVG files with groups but zero shapes. The drawsvg scripts created drawable objects without appending them to the drawing. Fixing each call and verifying with element counts and pixel probes caught missing shapes and thin arrows.