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.


August 21, 2023

Most diagrams packages should now be updated to build with GHC up through 9.6.

October 9, 2021

Diagrams continues to be maintained, despite no recent news to speak of! We have recently finished updating everything to build with GHC 9.0.

October 27, 2016

Diagrams 1.4 released! See the migration guide for help porting existing diagrams code to 1.4.

September 5, 2015

Ryan Yates and Brent Yorgey gave a presentation about diagrams at FARM 2015. The slides are available here.

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