diagrams is a powerful, flexible, declarative domain-specific language for creating vector graphics, using the Haskell programming language.

Get started

Read the quick start tutorial or the user manual.

Get excited

Check out the gallery for example images and code.

Get connected

Drop by the #diagrams IRC channel with questions, or post them to the mailing list.


April 19, 2015

Diagrams 1.3 released! Look for a blog post soon with a rundown of new features. In the meantime, see the migration guide for help porting existing diagrams code to 1.3.

December 01, 2012

Factorization diagrams make the cover of Hacker Monthly!

September 13, 2012

Brent presented his paper Monoids: Theme and Variations at the 2012 Haskell Symposium, which presents some of the diagrams internals. [ pdf video slides ]

Built with hakyll, pandoc, and, of course, diagrams.