networkit

High-performance network analysis toolkit for large-scale graphs

brewmacoslinux
Try with needOr install directly
Source

About

Performance toolkit for large-scale network analysis

Commands

networkit

Examples

Analyze network properties from a graph file$ networkit --help
Run community detection on a network$ python -c "import networkit as nk; G = nk.readGraph('graph.edgelist', nk.Format.EdgeListTabZero); nk.community.detectCommunities(G)"
Calculate centrality measures for nodes$ python -c "import networkit as nk; G = nk.readGraph('graph.edgelist', nk.Format.EdgeListTabZero); bc = nk.centrality.Betweenness(G); bc.run(); print(bc.scores())"