asciidiagram

Pretty rendering of Ascii diagram into svg or png.

Version on this page:1.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.1@sha256:c2396f686f14042acce5b25d6dda21413963fb27fa64bcfb52eed3e1635812d7,5546

Module documentation for 1.3.1

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.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