Visualizing large graphs is a natural desire for people with lots of connected data. But after a fairly small size, there's almost no utility in visualizing graphs. It's much more useful to compute various measures on the graph, and then query the graph using some combination of node/edge values and these computed values. You might subset out the nodes and edges of particular interest if you really want to see them -…
My use case is that I have a graph of flops, latches, buffers, AND, OR, NOT gates and I want to visualize how data is changing/getting corrupted as it goes through each of them.
Ask HN: What is the best software to visualize a graph with a billion nodes?
101–110 of 117 posts
Re: Ask HN: What is the best software to visualize a graph with a billion nodes?
#102It really feels like an under defined task. Do you actually need to see those nodes? At that scale, you never want to render 100B of them. Instead you would need some kind of density aggregation when zoomed out and moving to LoD style k-d tree partitioning when zoomed in. That's almost the area of rendering engines like Unreal's Nanite. You can create your own renderer for data like this, but game engines are likely…
My use case is that I have a graph of flops, latches, buffers, AND, OR, NOT gates and I want to visualize how data is changing/getting corrupted as it goes through each of them.
Having the structure of the device available should also help with the layout - we know you can group the nodes logically into independent boxes instead of trying to auto-layout everything.
Re: Ask HN: What is the best software to visualize a graph with a billion nodes?
#103At that size what you're actually looking for is a game engine with a particle system.
Wow. I had not thought of that. While idea makes sense, even MVP for this is going to be daunting
Re: Ask HN: What is the best software to visualize a graph with a billion nodes?
#104I'm also looking for a graph viewing tool, but my wishlist is different (not all of them are hard requirements): - Deal with 100k node graphs, preferably larger - Interactive filtering tools, e.g. filtering by node or edge data, transitive closures, highlighting paths matching a condition. Preferably filtering would result in minimally re-layouting the graph. - Does not need an very sophisticated layout algorithms, i…
Re: Ask HN: What is the best software to visualize a graph with a billion nodes?
#105It is somewhat old-school, but Gephi is by far the best graph visualization tool I've used that stays robust and usable at such scales (at least ~10M, but possibly a lot more).
https://gephi.wordpress.com/2024/06/13/gephi-week-2024-peek-...
Re: Ask HN: What is the best software to visualize a graph with a billion nodes?
#106From there I could write better visualizations. I got laid off before the project was completed, though.
Re: Ask HN: What is the best software to visualize a graph with a billion nodes?
#107I'm also looking for a graph viewing tool, but my wishlist is different (not all of them are hard requirements): - Deal with 100k node graphs, preferably larger - Interactive filtering tools, e.g. filtering by node or edge data, transitive closures, highlighting paths matching a condition. Preferably filtering would result in minimally re-layouting the graph. - Does not need an very sophisticated layout algorithms, i…
Have you tried Gephi?
So I gave it a try and it seems quite a capable tool. It doesn't check all my boxes and is more cumbersome to use than I'd wish, e.g. it is able to find shortest path between nodes, but activating that needs finding and entering the node ids manually.
However, this still seems the best tool I've ever seen for this purpose and it's also highly general. Thanks!
Re: Ask HN: What is the best software to visualize a graph with a billion nodes?
#108Re: Ask HN: What is the best software to visualize a graph with a billion nodes?
#109A blog that covers only failures of large SVG viewers having 10,000+ of nodes.
https://egbert.net/blog/articles/comparison-svg-viewers-larg...
Re: Ask HN: What is the best software to visualize a graph with a billion nodes?
#110As someone who's made graphing libraries for over a decade: Are you sure you want to visualize 1 billion nodes? What's the essential thing you're trying to see? Visualizations are great at helping humans parse data, but usually they work best at human scales. A billion nodes is at best looking at clouds, rather than nodes, which can be represented otherwise.