How to create ASCII Diagrams – ASCIIO

Problem description:
I need a solution to create ASCII diagrams on a MacBook Pro for email communication, for document creation, and for my blog.

Options that did not pass my selection:

Web-based editors I have tried demo level:

MacOS applications:

  • Monodraw – not possible to type a text out of a box. not flexible, not predefined stencils
  • Karograph – far away of all I have seen till now

Solution: ASCIIO APP

  • Install Ubuntu Desktop 14.4.1 on VMware Fusion
  • Install VMware Tools
  • Share Host Folder for the ASCII diagrams – it will be mounted on /mnt/hgfs/
  • Install Asciio app on Ubuntu Desktop VMWare using Ubuntu Software Center
  • Create diagram > CTRL-E to copy ascii > create .txt file, paste and safe the diagram OR
  • Create diagram > right click > Safe as.. > file_name.txt
  • To show the ASCII diagram into HTML, copy-paste into <pre></pre> tag
                                        ____   __ 
                 .------------.        |    | |==|
                ( Ana are chef )------>|____| |  |
                 '------------'        /::::/ |__|

For more info on how to use the application, visit this webpage:
http://search.cpan.org/dist/App-Asciio/lib/App/Asciio.pm

Have fun!

UPDATE PROBLEM: It seems that my diagrams just brakes in the middle. I don’t understand why! 🙁

Example:

  
.----------------.   .--------------------------------------------.
| AS 1           |   | AS 100                                     |
|   .----.       |   |   .-----.        .----.        .-------.   |
|  /      \      |   |  /       \      /      \      /         \  |
| (  CE 1  )---------->(  PE 11  )--->(  P 12  )--->(  C-CE 13  ) |
|  \      /      |111|  \       / 1112 \      / 1213 \         /  |
|   '----'       |   |   '-----'        '----'        '-------'   |
'----------------'   '------------------------------------|-------'
                                                          |
                                                          |
                                                          | 1321
                                                          |
  .------------------------------------------------------.|
  | AS 200                                               ||
  |   .-------.           .------.           .-------.   ||
  |  /         \         /        \         /         \  ||
  | (  C-PE 23  )<------(  C-P 22  )<------(  C-PE 21  )<-' | \ / 2223 \ / 2122 \ / | | '-------' '------' '-------' | '-----.------------------------------------------------' | | | 1423 | .-------|------------------------------------. .----------------. | v AS 100 | | AS 1 | | .-------. .----. .-----. | | .----. | | / \ / \ / \ | | / \ | | ( C-CE 14 )--->(  P 15  )--->(  PE 16  )--------->(  CE 2  )  |
|  \         / 1415 \      / 1516 \       /  |162|     \      /   |
|   '-------'        '----'        '-----'   |   |      '----'    |
'--------------------------------------------'   '----------------'



| IP Allocation:                                                  |
| --------------                                                  |
|                                                                 |
|  AS 1: 192.168.0.0/16               AS 100: 10.10.0.0/16        |
|  --------------------               ----------------------      |
|  CE 1: 192.168.0.1/32               PE 11: 10.10.0.11/32        |
|  CE 2: 192.168.0.2/32               P 12: 10.10.0.12/32         |
|                                     C-CE 13: 10.10.0.13/32      |
|  AS 200: 172.16.0.0/16              C-CE 14: 10.10.0.14/32      |
|  -----------------------            P 15: 10.10.0.15/32         |
|  C-PE 21: 172.16.0.21/32            PE 16: 10.10.0.16/32        |
|  C-P 22: 172.16.0.22/32                                         |
|  C-PE 23: 172.16.0.23/32                                        |
'-----------------------------------------------------------------'

5 thoughts on “How to create ASCII Diagrams – ASCIIO

  1. That is the precise weblog for anybody who needs to seek out out about this topic. You notice a lot its nearly exhausting to argue with you (not that I actually would need…HaHa). You undoubtedly put a brand new spin on a subject thats been written about for years. Nice stuff, just nice!

Leave a Reply

Your email address will not be published. Required fields are marked *