Skip to content
No description, website, or topics provided.
Branch: master
Clone or download
byorgey Merge pull request #7 from mulderr/master
Update for current reflex, bump version
Latest commit 4121332 Jan 31, 2018
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
example Update for current reflex, bump version Aug 12, 2017
src Update for current reflex, bump version Aug 12, 2017
.gitignore update stack.yaml with git repos, solver output Nov 8, 2015
.travis.yml travis: install happy Nov 9, 2015
CHANGELOG.md
LICENSE initial import - copy entire SVG Backend Nov 8, 2015
README.md README: typo fix Aug 22, 2016
Setup.hs initial import - copy entire SVG Backend Nov 8, 2015
cabal.config add cabal.config to use ghcjs Feb 7, 2016
default.nix Update for current reflex, bump version Aug 12, 2017
diagrams-reflex.cabal Use reflex-dom-core directly Jan 8, 2018
ghcjs.nix nix: use reflex-dom-contrib from reflex-platform May 23, 2016
stack.yaml Update stack.yaml for reflex-0.5 Sep 6, 2017
travis_long travis: set exec bit on travis_long Nov 9, 2015

README.md

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

with reflex-platform

cd example
work-on ./ghcjs.nix ./.

The work-on script can be found in the top-level directory of reflex-platform.

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
You can’t perform that action at this time.