All Projects → diagrams → diagrams-reflex

diagrams / diagrams-reflex

Licence: other
No description, website, or topics provided.

Programming Languages

haskell
3896 projects
Nix
1067 projects
shell
77523 projects

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 [email protected]: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
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].