Snap简介
Stanford Network Analysis Platform (SNAP) is a general purpose network analysis and graph mining library. It is written in C++ and easily scales to massive networks with hundreds of millions of nodes, and billions of edges. It efficiently manipulates large graphs, calculates structural properties, generates regular and random graphs, and supports attributes on nodes and edges.
安装方法
snap官网地址
1.从上面地址下载python版本压缩包
2.解压得到本地目录下 C:\Users\Joker\snap
3.按进入cmd,cd进入该目录,运行 python setup.py install。
linux系统下也是一样的方法。
注意:snap只支持python2.7版本。windows系统也需要64位系统。
文档和数据
snap相关文档说明
文档中包括了一些基本的数据类型。还包括了一些比较容易用到的功能的代码说明:输出网络的基本信息,可视化网络,度分布图,各种网络分析的功能通常一句代码就解决了。