Here is a little Python class I made to retrieve a social graph from github. The ffDigraph() method generate a directed graph of a user by examining his followers list and his following list. The ffGraph() method is the most interesting one since it generate a undirected graph by adding only the nodes which mutually follow each other. This most restricted definition of the social graph is more significant then the the first one which often contains an overwhelming number of nodes following very popular project/user (like rails).
February 22, 2010