diagrams

The diagrams library provides an embedded domain-specific language (EDSL) for creating simple pictures and diagrams in Haskell. Values of type Diagram are built up in a compositional style from various primitives and combinators, and can be rendered to a physical medium, such as a file in PNG, PS, PDF, or SVG format.

You can download the latest release from Hackage.

The diagrams library is still in its infancy; contributors and testers are welcome. You can download the latest development sources using darcs:

  darcs get http://code.haskell.org/diagrams/
  
Additional resources: