Thursday, July 7, 2011

Yet Another dotjs Hack: Fixing GitHub's Graph Links

There's something about GitHub's UI which I've always found counter-intuitive. They have this handy, awesome network graph.



However, if you look for it under "Graphs," you won't find it.



You have to remember, when you look at the UI, that "Graphs" actually means "every graph except the network graph." I never remember that, and honestly, I think GitHub made a mistake here.

With dotjs, it's easy to fix.



Here's the code: