diagrams-reflex: reflex backend for diagrams drawing EDSL.

[ bsd3, graphics, library ] [ Propose Tags ]

This package provides a modular backend for rendering diagrams created with the diagrams EDSL to dynamic inline SVGs. It uses reflex-dom and the reflex FRP system.

[Skip to Readme]
Versions 0.1
Change log CHANGELOG.md
Dependencies base (>=4.3 && <4.9), colour (>=2.3.2 && <2.4), containers (>=0.3 && <0.6), diagrams-core (==1.3.*), diagrams-lib (==1.3.*), lens (>=4.0 && <4.14), monoid-extras (>=0.3 && <0.5), mtl (>=1 && <2.3), reflex (>=0.3 && <0.5), reflex-dom (>=0.2 && <0.4), reflex-dom-contrib (==0.4.*) [details]
License BSD-3-Clause
Author Daniel Bergey
Maintainer diagrams-discuss@googlegroups.com
Category Graphics
Home page http://projects.haskell.org/diagrams/
Bug tracker http://github.com/diagrams/diagrams-reflex/issues
Source repo head: git clone http://github.com/diagrams/diagrams-reflex
Uploaded by bergey at Fri Feb 19 19:14:33 UTC 2016
Distributions NixOS:0.1
Downloads 243 total (4 in the last 30 days)
Rating (no votes yet) [estimated by rule of succession]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-11-11 [all 4 reports]
Hackage Matrix CI


  • Diagrams
    • Backend
      • Diagrams.Backend.Reflex


Maintainer's Corner

For package maintainers and hackage trustees

Readme for diagrams-reflex-0.1

[back to package description]

diagrams-reflex Build Status

diagrams-reflex is a an SVG backend for diagrams, to be used in the browser via ghcjs. Diagrams is a powerful, flexible, declarative domain-specific language for creating vector graphics, using the Haskell programming language.


git clone git@github.com:diagrams/diagrams-reflex
cd diagrams-reflex

Pick one of the build methods below.

With stack

stack build

wiith reflex-platform

work-on ./ghcjs.nix ./.


The examples directory contains several simple examples. Running versions of these examples (and others, not all using reflex) are online at http://bergey.github.io/gooey.


The following features are supported. If they don't work as expected (or as other Diagrams Backends), please file a bug report.

- fill color (solid only)
- line color
- line width
- line cap & join
- dashing
- opacity
- Paths
- Text
- mouse events
- font weight

These features are not yet implemented. Pull requests welcome!

- textures