Diagram writer - bare bones, using Diagrams library