Graphviz: Open-source graph visualization software
101–110 of 156 posts
Re: Graphviz: Open-source graph visualization software
#102Did anyone see the new pathing algorithm for connecting graph nodes that made some rounds on twitter? It looked way better than a normal force-directed graph. I can’t remember what it was exactly, and have lost the reference, but it was a side effect of solving what looked like a traffic problem.
Re: Graphviz: Open-source graph visualization software
#103Javascript and html version needed.
- Dagre (deprecated, unfortunately): https://github.com/dagrejs - Viz.js (via Emscripten): https://github.com/mdaines/viz.js ; Online demo: http://viz-js.com/
I've had good success with cytoscapejs as well, integrating with react so the graph will animate layout on transition. I use elk, which is apparently superior to sugiyama (the algorithm graphviz uses for force-directed dag layouts).
Re: Graphviz: Open-source graph visualization software
#104Graphviz, at its core, is a simple graph description language (DOT), which allows progressive enhancement, and a bunch of auto-layout tools where some double as renderers.
The double-duty of the layout/renderers masks GraphViz's true power, which is that you can create a pipeline modifying your graph source (confusingly referred to as '.dot' files), progressively adding attributes.
This is where gvpr comes in. While most are familiar with GV's all-in-one layout+rendering tools like `dot` or `neato`, gvpr is a generic Awk-like programming tool that iterates over nodes and edges. With it, you can implement any layout algorithm you like (or not!), to specify part or all of the attributes of your graph (like positioning and style), to then be rendered using `dot` to the format of your choice.
Re: Graphviz: Open-source graph visualization software
#105Here are some cool things I've done recently with graphviz: 1. Draw "sketch" style graphs using https://sketchviz.com/new 2. Draw graphs of memory usage in golang programs (using pprof): https://graphviz.org/Gallery/directed/pprof.html 3. Embed graphviz into Sphinx docs (shameless self-promotion: https://docs.robusta.dev/master/catalog/triggers/index.html#... )
Very cool. About Sketchviz 1) is there an option to make the graph horizontal instead of vertical? 2) can you make the svg option separate, instead of hidden behind the PNG button (with CTRL key)? 3) how did you do the handwriting style?
See in the docs: https://graphviz.org/docs/attrs/rankdir/
In the sketch example:
digraph G {
rankdir="LR";
graph [fontname = "Handlee"];
...Re: Graphviz: Open-source graph visualization software
#106Earlier quoted context omitted.
Depending on what you're doing Cytoscape.js might also work. https://js.cytoscape.org/
I found cytoscape to be annoying because it assumes you are using npm.
Re: Graphviz: Open-source graph visualization software
#107Odds are slim that its future owner will have the skills to work with such a resource. But I did leave a couple printouts on the boat before leaving it!
Re: Graphviz: Open-source graph visualization software
#108The `gvpr` tool in graphviz deserves more recognition. Graphviz, at its core, is a simple graph description language (DOT), which allows progressive enhancement , and a bunch of auto-layout tools where some double as renderers. The double-duty of the layout/renderers masks GraphViz's true power, which is that you can create a pipeline modifying your graph source (confusingly referred to as '.dot' files), progressivel…
Re: Graphviz: Open-source graph visualization software
#109I also used it to make a small tool to generate the relationships of Elixir's modules: https://github.com/shiryel/graphme
Re: Graphviz: Open-source graph visualization software
#110The `gvpr` tool in graphviz deserves more recognition. Graphviz, at its core, is a simple graph description language (DOT), which allows progressive enhancement , and a bunch of auto-layout tools where some double as renderers. The double-duty of the layout/renderers masks GraphViz's true power, which is that you can create a pipeline modifying your graph source (confusingly referred to as '.dot' files), progressivel…
I'm actually disappointed that `gvpr` isn't mentioned at all on GraphViz's main page, because I think it's its most powerful tool. All I could find are manpages, and not even on GraphViz's own website! https://manpages.debian.org/testing/graphviz/gvpr.1.en.html