LWN.net Logo

Advertisement

Advanced thin client solution for Linux, based on Open Source. Mix Windows and Linux, with hardware accelerated OpenGL!

Advertise here

The Grumpy Editor's guide to diagram editors

The Grumpy Editor's guide to diagram editors

Posted May 6, 2004 14:20 UTC (Thu) by mly (guest, #2171)
Parent article: The Grumpy Editor's guide to diagram editors

I realize that this is a bit outside the scope of your review, but for those of use who are hopeless at drawing things, and good at writing code, a solution might be to use a tool like AT&T's graphviz.

Then you write a text file, perhaps looking like this...

digraph G {
    main -> parse -> execute;
    main -> init;
    main -> cleanup;
    execute -> make_string;
    execute -> printf
    init -> make_string;
    main -> printf;
    execute -> compare;
}
...run a command on the file, and you'll get a pretty graph in the file type you like. This is really very different from tools like LaTeX, because what you write in your code is only the logical connections between the nodes in your graph, not the layout (although you can influence layout somewhat).


(Log in to post comments)

The Grumpy Editor's guide to diagram editors

Posted May 13, 2004 18:45 UTC (Thu) by gvy (guest, #11981) [Link]

It's WYSIWYM -- you describe what it is and [usually] not how it should look. Then it just looks good :-)

(by "usually" I mean artifical weighing for the most part)

Copyright © 2009, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds