Lurker News
For those who are still under lockdown, what are you working on / building / learning?

I've been making excessive amounts of bread.

Comments (2,248) 1105 threads

Show all comments

Showing thread 329 of 1105

bluishgreen1 reply#
Pretty cool. Did you bake the viz yourself? How does it work.. Can you explain a bit how you handle the sheer scale of it. And how the nodes are positioned - I can't imagine it is some sort of graph node attraction/repulsion algorithm as it will kill the server? Do you precompute?
7373737373#
I wrote down some things here: https://github.com/void4/notes/issues/48

The code is here: https://github.com/void4/wikiscape
tl;dr: wrote scripts to parse wikipedia dump, used LargeVis (https://github.com/lferry007/LargeVis) to layout the graph, wrote further scripts to generate tiles, tiles in layers up to a specific zoom level are saved as files and served directly by nginx, closer ones are generated dynamically by flask, which also handles querying for the closest node to the mouse position efficiently with https://docs.scipy.org/doc/scipy/reference/generated/scipy.s...