views:

77

answers:

3

I remember there's a charting/graph tool/plugin in some editor (maybe in vim or eclipse) so that we can plot some chart in pure text as follows:

  +-----------+               +-----------+
  |  Class A  | ------------> |  Class B  |
  +-----------+               +-----------+

Anyone knows what that plugin is? Thanks!

A: 

Probably the most functional plugin for simple ASCII drawing (straight lines, arrows, ellipses, rectangles, etc.) in Vim is DrawIt!. Another option (may be outdated) could be sketch.vim. Both of them provide shortcuts for drawing at least arrows and boxes.

ib
A: 

You can search it on vim.org: http://www.vim.org/scripts/script_search_results.php?keywords=ascii&script_type=&order_by=rating&direction=descending&search=search

Most popular results:

ZyX
It's impossible to create diagrams using `CharTab` plugin, which, in fact, provides ASCII character table viewer.
ib
And `boxdraw` does not suit well for diagram drawing automation. For example, it has no simple way to draw arrows in it.
ib
A: 

You may have been thinking of asciio, which isn't part of any editor -- it's an editor on its own that lets you create ASCII diagrams from within a nice little GUI. Here are some videos of it in use: one, two, three.

On the other side of the problem, you might be interested in ditaa, which takes ASCII diagrams (including some of the very same things that asciio produces) and turns them into nice graphical diagrams.

hobbs