Embedded domain-specific language for declarative vector graphics (wrapper package)
The developer of this repository has not created any items for sale yet. Need a bug fixed? Help with integration? A different license? Create a request here:
cabal install diagramscommand.
The package also comes with flags to enable six different backends. The native SVG backend is enabled by the
-fsvgflag and is enabled by default. If you don't want it, you must explicitly disable it with
The native postscript backend is disabled by default but can be enabled by the
The cairo backend is disabled by default but can be selected with the
-fcairoflag. In addition, the GTK backend is based on the cairo backend (but split into a separate package to make installing the cairo backend easier). It can be selected with the
The native rasterific backend which is disabled by default but can be selected with the
The native canvas backend which is disabled by default but can be selected with the
cabal update && cabal install diagrams
or, to get the postscript backend in addition to the SVG backend:
cabal update && cabal install -fps diagrams
or, to get the cairo backend in addition to the SVG backend:
cabal update && cabal install gtk2hs-buildtools && cabal install -fcairo diagrams
Issue trackers for all diagrams-related repositories are hosted under the diagrams organization on github. If you know the specific package containing the bug, report it in the issue tracker specific to that package (for example, diagrams-lib). Otherwise, just report the issue in the issue tracker for the general diagrams repository.
For more information, including a gallery of examples, tutorial, and user manual, see the diagrams website. For help, join the
#diagramsIRC channel on Freenode or the mailing list.