igraph

Network analysis library for creating and analyzing graphs

brewmacoslinux
Try with needOr install directly
Source

About

Network analysis package

Commands

igraph

Examples

Create a simple graph and analyze its properties$ igraph -c 'g <- make_ring(10); diameter(g)'
Generate a random graph and compute centrality measures$ igraph -c 'g <- sample_gnp(20, 0.3); betweenness(g)'
Load a graph from file and detect communities$ igraph -c 'g <- read_graph("network.gml", format="gml"); cluster_louvain(g)'