asciidiagram

Pretty rendering of Ascii diagram into svg or png.

Version on this page:1.3.3.2
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.2@sha256:f18f6ebd4df631effc57232c7b17ad98045259ea3d698674ea6765ecaf75ef7e,5912

Module documentation for 1.3.3.2

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.2 March 2018

  • GHC 8.6 bump

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