I was using facebook dataset and making a graph on it. But was not been able to find different groups/communities in it. The code was using is this:
import networkx as nx import matplotlib.pyplot as plt g = nx.read_edgelist('facebook_combined.txt', create_using=nx.Graph(), nodetype=int) print nx.info(g) sp = nx.spring_layout(g) nx.draw_networkx(g, pos=sp, with_labels=False, node_size=35) # plt.axes('off') plt.show()
But was not been able to find groups or communities in it.
The link to the dataset is here
The source to the is here