| CARVIEW |
diagrams-reflex: reflex backend for diagrams drawing EDSL.
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
- Backend
Downloads
- diagrams-reflex-0.1.tar.gz [browse] (Cabal source package)
- Package description (as included in the package)
Maintainer's Corner
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 |
| Uploaded | by bergey at 2016-02-19T19:14:33Z |
| Category | Graphics |
| Home page | https://projects.haskell.org/diagrams/ |
| Bug tracker | https://github.com/diagrams/diagrams-reflex/issues |
| Source repo | head: git clone https://github.com/diagrams/diagrams-reflex |
| Distributions | NixOS:0.1 |
| Reverse Dependencies | 1 direct, 0 indirect [details] |
| Downloads | 1069 total (4 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 
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
https://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