asciidiagram

Pretty rendering of Ascii diagram into svg or png.

Version on this page:1.3.3.1
LTS Haskell 20.26:1.3.3.3@rev:1
Stackage Nightly 2022-11-17:1.3.3.3@rev:1
Latest on Hackage:1.3.3.3@rev:1

See all snapshots asciidiagram appears in

BSD-3-Clause licensed by Vincent Berthoux
Maintained by [email protected]
This version can be pinned in stack with:asciidiagram-1.3.3.1@sha256:b2160c0142da43dde41ef6702f1d3e6543d9e474a31511f487d66ce269cb038f,5912

Module documentation for 1.3.3.1

  • Text
    • Text.AsciiDiagram

Transform Ascii art diagram like this:

,               /---------+
+---------+     |         |
|  ASCII  +---->| Diagram |
+---------+     |         |
|         |     +--+------/
\---*-----/<=======/

Into this:

See the documentation of the Text.AsciiDiagram module for the description of the input format.

Changes

Change log

v1.3.3.1 March 2018

  • Adding Semigroup instance for GHC 8.4

v1.3.3 November 2017

  • Fixing compilation issue.

v1.3.2 October 2016

  • Bumping svg-tree dependency

v1.3.1.2 August 2016

  • Removing test suite from production pacakge

v1.3.1.1 May 2016

  • Fix: GHC 8.0.1 compilation

v1.3.1 March 2016

  • Fix: CSS problems in case of bullet on closed shapes.
  • Fix: some documentation.

v1.3 March 2016

  • Added: Hierachisation of shapes in shapes and text.
  • Added: shape transformation using CSS.

v1.2 February 2016

  • Breaking change: DPI parameter on the rendering functions
  • Fix: exposing grid size
  • Fix: Bumped dependencies

v1.1.1.1 May 2015

  • Fix: Bumping lens dependency

v1.1.1 May 2015

  • Fix: Removing some bad reconstructed shapes in presence of lines.
  • Fix: Bumping rasterific-svg dependency.
  • Fix: creating font cache in a temporary directory.
  • Adding: PDF output.

v1.1 April 2015

  • Bump: svg-tree & rasterific-svg dependencies

v1.0 February 2015

  • Initial version