We're reluctant to be exposed to too much anger about misfeatures in 20 year old code that was basically a prototype that escaped from the lab, but go ahead, ask us anything. We've gotten a lot of help lately from Magnus Jacobsson, Matthew Fernandez and Mark Hansen on cleaning up the website and the code base, even some persistent bugs we could never find ourselves. Improvements that would benefit the community the m…
> - find someone to donate a generic orthogonal routing algorithm based on a modern algorithm since people want this > - it would be a big effort, but move the core algorithms to a framework that supports interaction with layout generation Yup, I think these are the ones that mean I never actually end up using Graphviz for anything :) If I'm generating graphs, I want them laid out in a hierarchical style. To do that,…
Create diagrams with code using Graphviz
111–120 of 221 posts
Re: Create diagrams with code using Graphviz
#112Can anyone recommend a resource for learning how to diagram? Notably, I don't want to free-design directional relationships that are counter intuitive to what people expect. Eg, if Service A calls Service B, does the arrow go to Service B? What about the response? I imagine there are a ton of little questions like this and I'd like to learn to write what people expect to see.
There are standards like UML, but I’ve never found those to be as useful to start with. It’s best to treat this as a “design problem”: first, answer the question: “what am I communicating”.
Then, maybe look into conventions - but often you’ll find less need for one “master UML diagram” and instead use many, smaller diagrams embedded within reference docs.
I feel like project reactor did a good job here: https://projectreactor.io/docs/core/release/api/reactor/core...
Personally I’d like to see more related to inheritance, but I’ll take what I can get. The tooling can be a pain to embed automatic diagrams in
Re: Create diagrams with code using Graphviz
#113Re: Create diagrams with code using Graphviz
#114Earlier quoted context omitted.
I don't want to diminish importance of graphviz, but PlantUML is better suited for visualizing state machines, message sequence diagrams and whatnot.
PlantUML is a good syntax. Under the hood... it renders via GraphViz
Re: Create diagrams with code using Graphviz
#115As much as I like Graphviz (and I've been using it for ages) I keep looking for an equivalent with two features: - Nicer, more modern looks (the original is too... LaTeX-y for my tastes) - A different layout engine that uses straight arrows and 90 degree turns So far I haven't been able to find any good replacements, although a few JS libraries come reasonably close.
Re: Create diagrams with code using Graphviz
#116Re: Create diagrams with code using Graphviz
#117We're reluctant to be exposed to too much anger about misfeatures in 20 year old code that was basically a prototype that escaped from the lab, but go ahead, ask us anything. We've gotten a lot of help lately from Magnus Jacobsson, Matthew Fernandez and Mark Hansen on cleaning up the website and the code base, even some persistent bugs we could never find ourselves. Improvements that would benefit the community the m…
Re: Create diagrams with code using Graphviz
#118I used graphviz as the main visualisation for bear-note-graph [1], and it's super-easy to use programmmatically, and gives decent-looking results even for large graphs. It is also pretty customizable. I have a WIP version now using D3, and that one has been harder to manage (when the graph is too large you don't want to have it animate the layout on the fly). If you are curious, I used the same D3 code I have in the…
Curious what you think about something, since it seems like you've been iterating on the challenge of a big interactive graph lately. I've been pondering building a big interactive chart, like a decision tree or differential diagnosis chart, that maps goals/needs/problems to docs/examples/tools (for the Nix/NixOS/Nixpkgs ecosystem, but the basic concept applies to any sprawling ecosystem where discovery is hard). I r…
Mermaid uses D3 under the scenes, so depending on your specifics it could be the best solution anyway, though. Performance wise, I'd expect it to be OK (D3 is pretty fast in most cases) although if there are any issues down the road, fixing them from such a high level library as mermaid could be daunting (it's "easier" to move down from D3 to paper.js or g.js or any other high performance canvas renderer if the case arises).
Re: Create diagrams with code using Graphviz
#119Re: Create diagrams with code using Graphviz
#120We're reluctant to be exposed to too much anger about misfeatures in 20 year old code that was basically a prototype that escaped from the lab, but go ahead, ask us anything. We've gotten a lot of help lately from Magnus Jacobsson, Matthew Fernandez and Mark Hansen on cleaning up the website and the code base, even some persistent bugs we could never find ourselves. Improvements that would benefit the community the m…
> - find someone to donate a generic orthogonal routing algorithm based on a modern algorithm since people want this > - it would be a big effort, but move the core algorithms to a framework that supports interaction with layout generation Yup, I think these are the ones that mean I never actually end up using Graphviz for anything :) If I'm generating graphs, I want them laid out in a hierarchical style. To do that,…
Also, in my own experience, I was able to get hierarchical layouts Graphviz by using directional graphs with subgraphs.