social-networking

Node size dependent on the node degree on NetworkX

Node size dependent on the node degree on NetworkX Question: I imported my Facebook data onto my computer in the form of a .json file. The data is in the format: {“nodes”:[{“name”:”Alan”},{“name”:”Bob”}],”links”:[{“source”:0,”target:1″}]} Then, I use this function: def parse_graph(filename): “”” Returns networkx graph object of facebook social network in json format “”” G = nx.Graph() …

Total answers: 3

Drawing a graph or a network from a distance matrix?

Drawing a graph or a network from a distance matrix? Question: I’m trying to plot/sketch (matplotlib or other python library) a 2D network of a big distance matrix where distances would be the edges of the sketched network and the line and column its nodes. DistMatrix = [ ‘a’, ‘b’, ‘c’, ‘d’], [‘a’, 0, 0.3, …

Total answers: 2

Turning project data into a relationship matrix

Turning project data into a relationship matrix Question: My data set a list of people either working together or alone. I have have a row for each project and columns with names of all the people who worked on that project. If column 2 is the first empty column given a row it was a …

Total answers: 4

What scalability issues are associated with NetworkX?

What scalability issues are associated with NetworkX? Question: I’m interested in network analysis on large networks with millions of nodes and tens of millions of edges. I want to be able to do things like parse networks from many formats, find connected components, detect communities, and run centrality measures like PageRank. I am attracted to …

Total answers: 3