NetworkX

Previous topic

networkx.load_centrality

Next topic

networkx.degree_centrality

Quick search

networkx.edge_betweenness

edge_betweenness(G, normalized=True, weighted_edges=False, sources=None)

Compute betweenness centrality for edges.

weighted_edges:: consider edge weights by running Dijkstra’s algorithm (no effect on unweighted graphs).

sources:: list of nodes to consider as subgraph