Packages that draw (fletcher, cetz, quill, lilaq) go through diagram-frame, which emits inline SVG in HTML and leaves the PDF untouched.
A commutative diagram
A Feynman diagram
A data plot
The data lives in data/oscillator.csv, so it can come from a simulation run elsewhere.
Background on the geometry behind gauge fields is in the garden note on connections.