diagrams-reflex: reflex backend for diagrams drawing EDSL.

[ bsd3, graphics, library ] [ Propose Tags ] [ Report a vulnerability ]

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]

Modules

  • Diagrams
    • Backend
      • Diagrams.Backend.Reflex

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 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 && <1.4), diagrams-lib (>=1.3 && <1.4), 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 && <0.5) [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 2016-02-19T19:14:33Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 1035 total (6 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2016-11-11 [all 4 reports]

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.

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](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