Live data from Hacker News

Graphviz: Open-source graph visualization software

graphviz.org

91–100 of 156 posts

Re: Graphviz: Open-source graph visualization software

#91
Past related threads:

How Graphviz thinks the USA is laid out - https://news.ycombinator.com/item?id=25611053 - Jan 2021 (80 comments)

Create diagrams with code using Graphviz - https://news.ycombinator.com/item?id=23475225 - June 2020 (211 comments)

Graphviz – Graph Visualization Software - https://news.ycombinator.com/item?id=18797932 - Dec 2018 (3 comments)

Show HN: Project Management as Code with Graphviz - https://news.ycombinator.com/item?id=15950325 - Dec 2017 (64 comments)

A Quick Introduction to Graphviz - https://news.ycombinator.com/item?id=15324883 - Sept 2017 (44 comments)

A Technique for Drawing Directed Graphs (1993) [pdf] - https://news.ycombinator.com/item?id=14568180 - June 2017 (11 comments)

What happened to GraphViz? - https://news.ycombinator.com/item?id=11265188 - March 2016 (2 comments)

Ask HN: What is your favorite application of Graphviz? - https://news.ycombinator.com/item?id=790668 - Aug 2009 (8 comments)

There have been others, of course, but these seem to be the ones most focused on Graphviz itself.

Re: Graphviz: Open-source graph visualization software

#92

I use graphviz to get a quick postgresql schema overview (good for small to medium databases) https://github.com/enter-haken/schema

In a similar vein there is Schemaspy[1]. It generates a static documentation website for your DB, which also uses GraphViz to build ER diagrams.

[1] https://github.com/schemaspy/schemaspy

Re: Graphviz: Open-source graph visualization software

#93
Many moons ago I created all graphs in the LPIC2 exam prep book [1] using graphviz. The book is open sourced now, and all dot files are preserved in the accompanying repo [2].

One thing I learned creating these graphs was that with some tinkering you have quite a lot of control on how the result will look, without littering the semantic in the source file with a lot of markup.

I choose graphviz because the dot notation can easily be checked into source control. It is also easy to create reproducible results using a makefile.

[1] https://lpic2book.github.io/src/

[2] https://github.com/lpic2book/src/tree/main/docs/images

Re: Graphviz: Open-source graph visualization software

#94
My text editor, KeenWrite[0] renders Graphviz diagrams in near real-time. KeenWrite extends the functionality a little by allowing the use of variables inside the diagrams. In the example diagram[1], the 350 value stems from a variable and its value is shown near the top.

[0]: https://github.com/DaveJarvis/keenwrite

[1]: https://i.ibb.co/CVfsJDh/hacker-news.png

Re: Graphviz: Open-source graph visualization software

#95

Earlier quoted context omitted.

That sounds really interesting! Can you give a few more details how you use Graphviz? How does it give such a great advantage "to do in a couple of hours what typically would take client staff months." Did I understand it correctly that you use it to discover patterns? Are these patterns discovered by just using the layout engines? Arent' other tools, e.g. networkx in Python or cytoscape in javascript easier to use i…

Really simply, I typically use Neo4j, but if I have flat homegenous data, I just use Graphviz because the dot markup format lends itself to parsing easily in awk command lines. The times I have used networkx was when I needed a graph abstraction layer to reason about another graph query, so networkx wasn't used as a persistent graph store, but more of an intermediate data structure for orchestrating multiple service…

Have you tried gephi? It's not exactly an alternative to graphviz (eg. you can't cluster nodes) but it handles much larger graphs and has a bit more flexibility in layout. It has plugins for both dot and neo4j input.

Graphs and infosec go very well together.

Re: Graphviz: Open-source graph visualization software

#96

I've used GraphViz a number of times and highly recommend it as a standard tool on your belt. Having a stand-alone executable that can export to SVG is great. The most complex thing I've done with it [1]: a tool (MIT-license) that builds diagrams of the data and addressing pipeline for a DSP processor, and lets one 'scrub through' the assembler code frame by frame and see the values propagate through the blocks. Also…

My graphviz-fu got so much better when I started using invisible objects for the grid-like layouts. At that point you're just using graphviz for positioning/spacing/styling instead of creating the overall topology.

This sounds interesting, can you expand on that a bit please?

Re: Graphviz: Open-source graph visualization software

#100

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 fantastic.
Post reply on HN