Skip to content

vorpal-research/simple-diagrammer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

simple-diagrammer

A simple library that turns ascii diagrams into images

Turns dis:

         +~~~~~~~~~~~~~~~~~+
         :                 :
         :   $1 = eval x   :
         :                 :
         +~~~~~+~~~~~+~~~~~+
               |     |
        +------+     +-------+
        v                    v
+-------+-------+   +--------+-------+
|               |   |                |
|   assume $1   |   |   assume !$1   |
|               |   |                |
+-------+-------+   +--------+-------+
        |                    |
        v                    v
 +------+------+    +~~~~~~~~+~~~~~~~~+
 |             |    :                 :
 |   $3 = $1   |    :   $2 = eval y   :
 |             |    :                 :
 +------+------+    +~~~~~~~~+~~~~~~~~+
        |                    |
        |                    v
        |             +------+------+
        |             |             |
        |             |   $3 = $2   |
        |             |             |
        |             +------+------+
        |                    |
        |      +-------------+
        v      v
  +-----+------+-----+
  |                  |
  |   $result = $3   |
  |                  |
  +------------------+

into dis:

GitHub Logo

See examples for more examples

About

A simple library that turns ascii diagrams into images

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages