dihaa: ASCII based Diagram drawing in Haskell (Idea based on ditaa)

This is a package candidate release! Here you can preview how this package release will appear once published to the main package index (which can be accomplished via the 'maintain' link below). Please note that once a package has been published to the main package index it cannot be undone! Please consult the package uploading documentation for more information.


dihaa is a tool which allows converting simple ASCII art drawings of box diagrams to images.

See documentation of Main for more details.

[Skip to ReadMe]


Change logChangeLog.md
Dependenciesbase (>=4.8 && <5), FontyFruity (>=0.5.3), JuicyPixels (>=3.2.8), Rasterific (>=0.7.2), vector [details]
AuthorSascha Wilde
MaintainerSascha Wilde <wilde@sha-bang.de>
Home pagehttp://sha-bang.de
Source repositoryhead: hg clone https://bitbucket.org/sascha_wilde/dihaa
UploadedSat May 6 12:13:31 UTC 2017 by wilde


Maintainers' corner

For package maintainers and hackage trustees

Readme for dihaa-

[back to package description]

dihaa -- Creating Diagrams from ASCII Art

dihaa is a tool to create pictures of diagrams from ASCII art:

This is an simple example of valid dihaa input:

                                 +--->| PNG Image File |
+-------------+      +-------+   |    +----------------+
| Text Source +----->| dihaa +---+
+-------------+      +-------+   |    +-------------------+
                         ^       +--->| UTF-8 Box Drawing |
Commandline Options -----+            +-------------------+


dihaa is written in Haskell and can be build using cabal. I recommend using a sandbox for building the dependencies (Rasterific is used for image creation) and dihaa it self:

cabal sandbox init
cabal install


To process the text input call dihaa with either -p to create a PNG image or -u to create UTF-8 output using unicode box drawing elements. Try .cabal-sandbox/bin/dihaa -p test.dihaa, his will create test.dihaa.png.

For more details refer to the haddoc documentation of Main.


This tool is inspired by: https://github.com/stathissideris/ditaa which currently has far more features than dihaa.