Earlier quoted context omitted.
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.
Create diagrams with code using Graphviz
81–90 of 221 posts
Re: Create diagrams with code using Graphviz
#82Re: Create diagrams with code using Graphviz
#83Earlier quoted context omitted.
> One thing it does not do (or I don't know how) and graphviz does, though, is arranging nodes intelligently That's exactly what "graph drawing" means [0]. Can tikz choose the position of the vertices itself or you have to specify the positions yourself? If it is you who chooses the positions, then tikz does not do "graph drawing". [0] https://en.wikipedia.org/wiki/Graph_drawing
Yes, TikZ can position the vertices itself. E.g. http://www.tcs.uni-luebeck.de/downloads/papers/2011/2011-con... http://www.tcs.uni-luebeck.de/downloads/mitarbeiter/tantau/2... https://tex.stackexchange.com/questions/203692/how-to-automa...
Re: Create diagrams with code using Graphviz
#84Re: Create diagrams with code using Graphviz
#85Earlier quoted context omitted.
Yes, TikZ can position the vertices itself. E.g. http://www.tcs.uni-luebeck.de/downloads/papers/2011/2011-con... http://www.tcs.uni-luebeck.de/downloads/mitarbeiter/tantau/2... https://tex.stackexchange.com/questions/203692/how-to-automa...
That's great! Did these people really implement graph drawing algorithms as latex macros, or does it call an external program? I'm afraid to look it myself, lest I discover the truth.
Re: Create diagrams with code using Graphviz
#86Re: Create diagrams with code using Graphviz
#87Earlier quoted context omitted.
> Graphviz is for noobs. Try TikZ, aka the Gigachad of vector graphics. Maybe you are right, in today's decaying world. But any civilized person can see that tikz, latex and even graphviz are all ultimately hipster tools. Real men of course use pic and troff.
Now, 28 year old me after leaving academia and learning the superpower of TikZ, LaTeX and Beamer, I just use draw.io and google docs/slides.
Re: Create diagrams with code using Graphviz
#88https://github.com/reindeereffect/tools-from-blog/tree/maste...
Re: Create diagrams with code using Graphviz
#89I'm going to hijack this thread to ask if anyone knows of a library that creates "hand drawn"-style sequence diagrams from code? I basically want this: https://bramp.github.io/js-sequence-diagrams/ -- but sadly, this one only seems to run inside a browser.
PlantUML supports this https://plantuml.com/handwritten Add this to any diagram to get the effect you want, skinparam handwritten true skinparam monochrome true Demo: https://tinyurl.com/ycdu7owa
Re: Create diagrams with code using Graphviz
#90I found a great use for Graphviz recently. I needed to implement a model that was created by a scientist with no programming experience outside of a Fortran class in the early 1980s. Meanwhile, I didn't have much knowledge of the subject matter or terminology. The model was described in a multipage Excel file and an accompanying PDF and I implemented it in Clojure. In order to help us communicate, I wrote a script th…
https://github.com/Engelberg/ubergraph
Did you use something similar or roll your own?
In any case, your project sounds great and I am glad it was a success.