From HaskellWiki
< Diagrams
Revision as of 15:17, 14 May 2013 by Byorgey (talk | contribs) (Potential projects)

Jump to: navigation, search

Potential projects

Looking for something to work on? Try one of these!

See also Diagrams/GSoC which has more ideas.

Officially supported backends

Native SVG

A Haskell-native backend generating SVG. As of diagrams-0.6 this is the default "out-of-the-box" diagrams backend.

  • hackage
  • github repo
  • Status: active development
  • Participants: Deepak Jois, Ryan Yates, Felipe Lessa, Brent Yorgey


Full-featured backend using cairo.


Backend built on top of the cairo backend for rendering directly to GTK windows.

Native Postscript

Very similar to the Cairo backend but only outputting EPS.

Unofficial backends

HTML5 canvas


  • original darcs repo by Scott Walck
  • updated version by Malte Harder on github
  • Status: dormant
  • Participants: Scott Walck, Malte Harder


A POV-Ray backend for 3D diagrams.

  • github repo
  • Status: proof of concept only, needs someone to take it over!

Wanted backends

  • OpenGL

Related packages and tools


See also an earlier project in a similar direction:

Build service

diagrams-builder is a library providing the ability to dynamically interpret diagrams code snippets, including utilities for creating temporary files etc. as needed. Useful for making preprocessing tools for embedding diagrams code in other document formats (e.g. LaTeX).


The SVGFonts package implements Haskell-native font support (for fonts in the SVG-font format) that can be plugged into diagrams.

Other projects


Michael Sloan's gtk-toy project is a framework for creating interactive gtk/cairo applications. gtk-toy-diagrams provides tools for using diagrams in conjunction with gtk-toy.


LaTeXGrapher is a project by Ryan Yates providing a domain-specific language for producing mathematical graphs, backed by the diagrams-postscript backend.

Deepak Jois is working on a logo interpreter written in Haskell, using diagrams as a backend.

Packages using diagrams