One of the things i really liked on Gitlab was their network graphs
Is there a way to get a similar look/feel in Github?
I find the gitlab version much easier to work with
We've just moved our client work from a self-hosted GitLab instance to private GitHub repositories and I feel the same pain - I live on the GitLab network graph page!
So I've gone ahead and got it working for any local repository. That's not quite GitHub of course, but you can locally clone any GitHub project to use it.
The code and instructions are at https://github.com/chromatixau/gitlab-network-graph. It's not perfect yet - there are issues with getting the right 'space' allocation on the graph for some merge strategies, but it works for most simpler situations. I'm continuing to work on it.
The steps were basically to copy the network related frontend JS files from the MIT-licensed GitLab CE repository, build a small webpack config based on GitLab's, and then put together some scripts to create the JSON that GitLab builds the graph from (I've used a shell script to basically run git log and format it as JSON, and then a Node.js script to further massage that JSON).
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With