The whole installation, made queryable
The plant's single-line diagrams were PDFs exported from CAD, with the text turned into strokes: impossible to search. I rebuilt them as a queryable graph — 559 nodes, 552 connections, 100 panels, 8 transformers — reading the drawing's own layers and text annotations instead of guessing from OCR. Then I cross-checked it against four independent sources: the drawing geometry, the project's load schedule, the diagrams the building-management system draws on its own, and the panel manufacturer. A pre-commit hook refuses any change to the graph that contradicts the drawing. In the plant, the panels I photographed matched circuit by circuit, except two with details the drawing doesn't show. When I closed it, each data point showed how certain it was, and today it feeds the network viewer in the maintenance portal.