A Graphviz Go by

As I wrote the other day, the Graphviz dot language for drawing graphs is pretty simple and easy to learn but if, like me, you don’t use it very often, it’s easy to forget the details. There’s an excellent manual and a man-page-like reference page but for most diagrams you only need a a few of the commands.

Justin Worthe over at Worthe It has a very nice introduction to Graphviz (actually dot) that’s worth bookmarking. Then when you want to draw a graph you can use his examples as a go by. Be sure to also take a look at the list of attributes that he links to. As Worthe’s examples show, it’s amazing how much you can do with just a few easy-to-learn commands. It’s especially useful if you write with Org mode because you can embed the dot commands in an Org source block and have the diagram automatically embedded in your document.

This entry was posted in General and tagged , , . Bookmark the permalink.