Beefy Boxes and Bandwidth Generously Provided by pair Networks
Your skill will accomplish
what the force of many cannot
 
PerlMonks  

Re: Graphing HUGE Social Networks

by quester (Vicar)
on Mar 20, 2008 at 08:11 UTC ( [id://675182]=note: print w/replies, xml ) Need Help??


in reply to Graphing HUGE Social Networks

I'm not sure see what use the humungous single graph at full resolution would be. Hardly anyone on Earth would even be able to open it for decades.

You might consider starting by generating a very large number of reasonably small subgraphs as individual graphics. If you want to give the impression of a giant map that can be zoomed, you might start like this: take each the image of each subgraph and make a smaller, reduced resolution image of it. Group a number of subgraphs together and tile them, using a convenient tile size, on the order of 100 pixels square or so; then make a reduced resolution image out of that. Lather, rinse, and repeat until you finally get one set of tiles that are collectively small enough to display in a single window, say around 800x600 pixels or so.

Yes, it is likely to be little more than a blob at that scale.

Now, on the display side, that's a bit like how map programs such as Google Earth or Yahoo Maps work as you zoom in starting from a view of the entire planet, and they had a very similar problem to solve. You may or may not need or want the fancy Ajax scrolling. For many uses, the old way of clicking on an image map to zoom in at the clicked location is good enough. Either way, I think the underlying idea of tiles that are all the same pixel size but have different scales as you zoom in and out may be the simplest way of handling a graph that is really much too big to handle all at once.

Replies are listed 'Best First'.
Re^2: Graphing HUGE Social Networks
by amarquis (Curate) on Mar 20, 2008 at 14:23 UTC

    "Yes, it is likely to be little more than a blob at that scale"

    You could, at the far-out zoom levels, just make it a blob. Several visualizations I've seen of social networks and music turn subgraphs that would be too confusing to display into a colored blob, the size of which is proportional to the size of the subgraph. I'm assuming how they function is they just blob-ify everything more than X distance from the node you are looking at.

    Just food for thought, I think your idea of a sort of Google Earth type of display is great.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://675182]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others having a coffee break in the Monastery: (8)
As of 2024-04-19 08:57 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found