The diagrams-reflex package

[Tags:bsd3, library]

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]

Properties

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 BSD3
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 repository head: git clone http://github.com/diagrams/diagrams-reflex
Uploaded Fri Feb 19 19:14:33 UTC 2016 by bergey
Distributions NixOS:0.1
Downloads 64 total (4 in the last 30 days)
Votes
0 []
Status Docs not available [build log]
All reported builds failed as of 2016-11-11 [all 4 reports]

Modules

  • Diagrams
    • Backend
      • Diagrams.Backend.Reflex

Downloads

Maintainer's Corner

For package maintainers and hackage trustees

Readme for diagrams-reflex

Readme for diagrams-reflex-0.1

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.

Installation

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 ./.

Examples

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.

Capabilities

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