diagrams: Embedded domain-specific language for declarative vector graphics
Diagrams is a full-featured framework and embedded domain-specific langauge for creating declarative vector graphics and animations.
This package is just a convenient wrapper
around the diagrams-core
, diagrams-lib
and
diagrams-contrib
packages, so they can be
installed with a single `cabal install diagrams`
command.
The package also comes with flags to enable two
different backends.
A Haskell-native SVG
backend (the diagrams-svg
package)
can be selected with -fsvg
. This
flag is enabled by default, so if you do not
want the SVG backend, you must explicitly
disable it with -f-svg
. The SVG backend does not
yet quite support all the features of the cairo
backend: text alignment and embedded images are
the two main missing features at this point, and
of course it can only produce SVG images. It is,
however, much easier to install, so it is the
out-of-the-box default.
There is also a cairo backend (the
diagrams-cairo
package) which can be selected
with the -fcairo
flag. It is fully-featured and
can produce PNG, PS, PDF, or SVG output; however,
due to its dependencies it can be difficult to
install on some platforms (notably OS X).
For more information, including a gallery of
examples, tutorial, and user manual, see the
diagrams website:
http://projects.haskell.org/diagrams. For
help, join the #diagrams
IRC channel on
Freenode or the mailing list:
http://groups.google.com/group/diagrams-discuss.
[Skip to Readme]
Flags
Manual Flags
Name | Description | Default |
---|---|---|
cairo | Enable the cairo backend | Disabled |
svg | Enable the Haskell-native SVG backend | Enabled |
Use -f <flag> to enable a flag, or -f -<flag> to disable that flag. More info
Downloads
- diagrams-0.6.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, 0.2, 0.2.1, 0.2.1.1, 0.2.1.2, 0.2.1.3, 0.2.2, 0.2.2.1, 0.2.2.2, 0.2.2.3, 0.3, 0.4, 0.5, 0.6, 0.7, 0.7.1, 0.7.1.1, 1.0, 1.0.0.1, 1.1, 1.1.0.1, 1.2, 1.3, 1.3.0.1, 1.4, 1.4.0.1, 1.4.1, 1.4.2 |
---|---|
Dependencies | diagrams-contrib (>=0.6 && <0.7), diagrams-core (>=0.6 && <0.7), diagrams-lib (>=0.6 && <0.7), diagrams-svg (>=0.6 && <0.7) [details] |
License | BSD-3-Clause |
Author | Brent Yorgey |
Maintainer | diagrams-discuss@googlegroups.com |
Category | Graphics |
Home page | http://projects.haskell.org/diagrams |
Bug tracker | http://github.com/diagrams/diagrams/issues |
Source repo | head: git clone git://github.com/diagrams/diagrams.git |
Uploaded | by BrentYorgey at 2012-12-12T02:58:29Z |
Distributions | LTSHaskell:1.4.2, NixOS:1.4.1, Stackage:1.4.2 |
Reverse Dependencies | 13 direct, 13 indirect [details] |
Downloads | 34932 total (33 in the last 30 days) |
Rating | 2.75 (votes: 9) [estimated by Bayesian average] |
Your Rating | |
Status | Docs not available [build log] Successful builds reported [all 7 reports] |