Live data from Hacker News

Graphviz: Open-source graph visualization software

graphviz.org

21–30 of 156 posts

Re: Graphviz: Open-source graph visualization software

#24
post #4

Here 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#... )

Sketchviz look great. Is there an option to export vector graphics (for example svg)?

If you hold down control, the "Download PNG" button becomes "Download SVG".

Super intuitive, I know! :)

Re: Graphviz: Open-source graph visualization software

#25
post #9

Javascript 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 think dagre was ok but oversold the quality of the algos it used a bit. In many cases it can be better to use a SVG file generated from Graphviz directly instead.

Re: Graphviz: Open-source graph visualization software

#26

Graphviz is one of my favorite tools. I use it for most of my diagraming https://github.com/dylanowen/mdbook-graphviz and I use it as debugging output when I'm working through graph problems.

Likewise! I have used it to easily visualize dependency graphs at multiple employers. The pictures can get a bit messy when they're very large, but they were amazing for detecting incorrect/missing dependencies.

Re: Graphviz: Open-source graph visualization software

#28
post #7

Earlier quoted context omitted.

I like the output of Sketchviz. Do yo know if it is possible do make such output directly from desktop app?

you can install it locally with docker https://github.com/iamacarpet/sketchviz-docker

Thanks! Docker makes my computer so slow... And it would probably be an over kill for me. But it is nice to know that it exists.

Re: Graphviz: Open-source graph visualization software

#29
post #4

Here 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#... )

My single biggest issue with Graphic is that the quality of Arrow end-points is very poor. They don't terminate cleanly at the destination. This is visible in the 2nd link you've posted. I'm amazed that this hasn't been addressed. It's been there for years. Makes the end products impracticable for distribution in a professional setting. It's Ok if you're the only consumer ... not great for other cases.

I remember this issue being raised, I think on the graphviz Discourse, and the graphviz developers responding to it as if it was a hard to solve limitation of graphviz for some reason. But I can't for the life of me remember the details.
Post reply on HN