Live data from Hacker News

Create diagrams with code using Graphviz

ncona.com

1–10 of 221 posts

Re: Create diagrams with code using Graphviz

#3

I use GraphViz a lot. Here it the Twitter conversation that ensued when I asked a question about the use of Group Theory "In Real Life": https://www.solipsys.co.uk/Chitter/GroupTheory_IRL.svg

I'm using it at work, e.g. to visualize state machines. It makes it a lot easier to discuss it with business people. In Java there is a great library which translates code into graphviz markup: guru.nidi/graphviz-java

Re: Create diagrams with code using Graphviz

#5

I use GraphViz a lot. Here it the Twitter conversation that ensued when I asked a question about the use of Group Theory "In Real Life": https://www.solipsys.co.uk/Chitter/GroupTheory_IRL.svg

I'm using it at work, e.g. to visualize state machines. It makes it a lot easier to discuss it with business people. In Java there is a great library which translates code into graphviz markup: guru.nidi/graphviz-java

I don't want to diminish importance of graphviz, but PlantUML is better suited for visualizing state machines, message sequence diagrams and whatnot.

Re: Create diagrams with code using Graphviz

#7
I like graphviz a lot, but I almost always end up using [Tikz](http://www.ctan.org/tex-archive/graphics/pgf/), which is quite a bit more flexible.

One huge advantage of Tikz is that you can use LaTeX equations natively. E.g. subscripts and superscripts in graphviz involve jumping through a few hoops, iirc.

Post reply on HN