Skip to content

πŸš‚ Show a city's train lines in form of Git Network

License

Notifications You must be signed in to change notification settings

ayonious/git-network-trainline

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

1 Commit
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

Git Network Trainline

πŸš‚ Show a city's train lines in form of Git Network

Berlins Underground rail map

❓Synopsis

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.

πŸƒβ€β™‚οΈ Run

First you need to add inputs. In this file https://github.com/ayonious/git-network-trainline/blob/master/src/rawInput.js

  1. Add your git remote head.
  2. Add your roads
  3. 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!

😞 Limitations

  1. 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.
  2. Dont have same imoji for 2 different stations unless its a junction. Also line names need to be distinct.

πŸ’‘ Inspired by

yangshun/smrt-git which shows Singaporen metro lines in Git Network

πŸ“ License

MIT

About

πŸš‚ Show a city's train lines in form of Git Network

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published