Skittish Eclipse (foxfirefey) wrote in lj_nifty,
Skittish Eclipse

  • Mood:

LJMinion and Relationship Graphs

Soooo recently I slapped together a little Python library that can graph LJ relationships. It uses NetworkX which uses matplotlib. While fairly rudimentary, people have expressed enough interest in the output that I figured some of you might like to play around with it.

Basically, it makes a graph of people you've friended who have friended each other. The size of the dots is scaled to the number of mutual friends that person has. So, people with a BUNCH of friends will have a bigger circle than people with fewer.

Here is a small example from a cluster on my friendslist:

The functions in the package also provide some nice functionality for on the fly processing (ie, figuring out who do X and Y have friended in common). There's a fdata download and caching manager, and it rate limits its requests, so you don't have to be concerned about being hard on the servers when running it.

It can be found on BitBucket. I'm not too familiar with Python yet, though I have been enjoying it immensely, so anybody who Knows Better on how to do things is free to give me a guiding poke.

  • friends history

    many years ago, we had the marnanel joule that kept track of our friends history. but it went away around 2011. in fact a lot of livejournal has…

  • ArtLJ

    I was screwing around with custom styles earlier when I stumbled across artlj ( Translations available at Google and Microsoft). It…

  • No more grey comment button!

    Last night I hacked together a Greasemonkey script so that anyone affected by the grey comment button problem can post a comment. Any comments or…

  • Post a new comment


    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded