ASCII art (SVGbob)

Svgbob renders ASCII into crisp SVG lines rather than filled boxes. It suits diagrams whose plain-text form has to stay readable.


#What this example shows

  • Rounded corners drawn with .- and '-.

  • Arrowheads from > < ^ v.

  • A source that still reads correctly in a terminal.


#A worked example

Open it, edit it, or copy the source below.

ASCII art (SVGbob)

The source, which you can paste into a new diagram and edit:

        .--------------.
       |    Producer    |
        '-------+------'
                |
                v
     .-------------------------.
    |      Message queue        |
     '----+-----------------+--'
          |                 |
          v                 v
   .-------------.   .-------------.
  |  Consumer A  | |  Consumer B  |
   '------+------'   '------+------'
          |                 |
          '--------+--------'
                   v
            .-------------.
           |   Database   |
            '-------------'

#Making it your own

  • Rounded corners come from .- and '- rather than +.

  • Keep the source monospaced; a proportional font destroys the alignment.

  • Svgbob draws lines, Ditaa fills shapes. Pick per diagram.



Specialists. Borrow one when you need it.