Live data from Hacker News

Graphviz: Open-source graph visualization software

graphviz.org

111–120 of 156 posts

Re: Graphviz: Open-source graph visualization software

#112

Earlier quoted context omitted.

Is there a fork of viz.js that’s still maintained? The original was abandoned in 2018.

no. two steps above the abandoned version, before the web threads attempt, works quite nicely.

two commits previous or two releases previous to final version?

Re: Graphviz: Open-source graph visualization software

#113
FRA, the Swedish government agency for radio communications posts some riddles every year around Christmas. With one you got a couple of phone call logs and were asked questions about who was who in a terrorist group.

Plotted the calls with graphviz and the questions were instantly trivial to solve. Great tool with many applications.

Re: Graphviz: Open-source graph visualization software

#114
The biggest thing that makes me keep going back to graphviz despite there being nicer libraries available is that because it uses a really simple markup language instead of code or complex objects, I can juts put a handful of print/write statements into any program I want to analyse and pipe it to graphviz to give me nice graphical overview of what's going where.

I've used it to visualise/debug everything from web scrapers in Python to directory scanning in Bash to proper graph algorithms in Java. Every time with no library installation or anything, just simple prints to a stream/file and perhaps a system() call at the end if I'm running it often enough.

Re: Graphviz: Open-source graph visualization software

#115
post #73
post #29

Earlier quoted context omitted.

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.

Ostensibly each arrow style graphic would need an explicitly-defined "attach point" at whatever is deemed the "tip", so that the tip can be oriented perfectly in relation to the vertex and edge of the GraphViz graph. If nothing like that exists, I can see how it would be a very troublesome refactor.

[deleted]

Re: Graphviz: Open-source graph visualization software

#116

For the ASCII lovers, I made this simple web page to help convert dot to text diagrams: https://dot-to-ascii.ggerganov.com It's useful to embed diagrams directly in source code for example. Here is a sample [0]: 0.6 ┌─────────────────────────┐ ▼ │ ┌───┐ 0.8 ┌───┐ 0.1 ┌───┐ 0.7 ┌───┐ 0.2 ┌───┐ │ d │ ─────▶ │ │ ◀───── │ e │ ─────▶ │ a │ ─────▶ │ b │ └───┘ │ c │ └───┘ └───┘ └───┘ │ │ 0.4 │ │ │ ◀─────────────────────────…

This is so friggin cool.

I would kill to have this as like a Python library or something, any chance you’d open-source it?

Or is there a GitHub link already and I overlooked it?

Either way great job.

Re: Graphviz: Open-source graph visualization software

#117
If you use Django, installing django-extensions[0] will add a management command to produce a "dot" file for the apps/models of your choice[1].

It's pretty handy to get a rough overview of a new project or to use in docs.

[0] https://github.com/django-extensions/django-extensions

[1] https://django-extensions.readthedocs.io/en/latest/graph_mod...

Edit: typo

Re: Graphviz: Open-source graph visualization software

#118

For the ASCII lovers, I made this simple web page to help convert dot to text diagrams: https://dot-to-ascii.ggerganov.com It's useful to embed diagrams directly in source code for example. Here is a sample [0]: 0.6 ┌─────────────────────────┐ ▼ │ ┌───┐ 0.8 ┌───┐ 0.1 ┌───┐ 0.7 ┌───┐ 0.2 ┌───┐ │ d │ ─────▶ │ │ ◀───── │ e │ ─────▶ │ a │ ─────▶ │ b │ └───┘ │ c │ └───┘ └───┘ └───┘ │ │ 0.4 │ │ │ ◀─────────────────────────…

This is so friggin cool. I would kill to have this as like a Python library or something, any chance you’d open-source it? Or is there a GitHub link already and I overlooked it? Either way great job.

Thanks!

It's already open sourced on Github [0] (there is a link on bottom right of the page). Note that the page is simply a wrapper of Graph::Easy [1], so nothing technically interesting to see in the repo - it just passes the HTML input to a command-line tool and prints the result.

You can either use Graph::Easy directly on the command-line or you can use python to make an HTTP request to my page (example is shown in the README of [0]).

[0] https://github.com/ggerganov/dot-to-ascii

[1] https://metacpan.org/pod/Graph::Easy

Re: Graphviz: Open-source graph visualization software

#119
post #85

Graphviz is one of my favourite tools, but I use it very rarely. I noticed a mention of support for UTF-8 and some great documentation layout improvements, but what are the other big features that have been implemented in the last few years?

Most of the work has been on CI/CD, Windows, rationalizing and modernizing the code, and Zheng, Pawar and Goodman contributed a stochastic gradient descent solver, described here, https://arxiv.org/abs/1710.04626 with benefits pointed out by Börsig, Brandes and Pasztor https://arxiv.org/abs/2008.10376 but it's not a default solver, you'd have to ask for it. Great people joined (took over?) the project and have done an amazing job of triage on open bugs, and some were even fixed. We rewrote parts of the network simplex solver to eliminate some of the dumbfounding "trouble in init_rank" errors. We have a long wish list, and are hoping for funding to do some of this work.

Re: Graphviz: Open-source graph visualization software

#120

The `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

Are there any good examples of how you'd actually use this in practice?
Post reply on HN