tags:

views:

62

answers:

1

I would like a tool to create diagram in a programming language, maybe something like lua.

Is there any tool designed for that?

+2  A: 

Yes, you can generate .dot files for Graphviz. Since these are text files, you can do it from any language. I wrote a post a while ago about auto-generating binary-tree diagrams from C code using Graphviz.

Eli Bendersky
Yes, but .dot files don't let you move around the location of the elements. Right?I was looking for more control of the position of boxes, arrows, etc.
felipec
@felipec: then, consider one of those SVG generating libraries
Eli Bendersky