Sitelet https://github.com/paulegan/github-graph
Skip to content

About

Script to create a visualisation for a graph of Github repositories

Resources

Stars

1 star

Watchers

2 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

Script to create a visualisation for a graph of Github repositories.

For a set of root repositories, the script discovers other associated projects by looking at each user who has starred the repo and then loading all other repos that user also starred. The resulting graph is weighted by the number of starring users in common.

NetworkX is used to create both a static image and an interative version with D3.

To Run

python github-graph.py --github-token xxx --plot-file testrepo.png --json-file testrepo.json github/testrepo
display testrepo.png

python -m SimpleHTTPServer &
open 'http://localhost:8000/index.html?d=testrepo.json'

Output

Example for NetworkX & D3:

networkx graph

Try the interactive version at index.html.

About

Script to create a visualisation for a graph of Github repositories

Resources

Stars

1 star

Watchers

2 watching

Forks

Releases

Packages

Contributors

Languages