- Berlin's underground rail GitHub network view : https://github.com/ayonious/git-network-trainline/network
Use this script to create road maps of your own city. This uses simple graph theory on top of git commands to generate a nice git network graph.
First you need to add inputs. In this file https://github.com/ayonious/git-network-trainline/blob/master/src/rawInput.js
- Add your git remote head.
- Add your roads
- You can add comments while describing the stations as
imoji
param. This will showup in the git network graph as label
Now run
node .
When all is finished successfully
Git Network generated Successfully!!
Now go back to your git network network page: https://github.com/{username}/{repo}/network
Mine is: https://github.com/ayonious/git-network-trainline/network
Rememeber, you can drag and scroll the git graph left and right.
Enjoy!
- Make sure when inputting the graph there is no cyclic dependencies. This will make the graph not print full map and stop at a junction.
- Dont have same imoji for 2 different stations unless its a junction. Also line names need to be distinct.
yangshun/smrt-git which shows Singaporen metro lines in Git Network