I am interested in making a simple node application for graphing local git repositories. Something like this looks pretty close to what I need graphically (although I'll probably write my own):
However, how do I get the git branch history from the command line into an array (or whatever) I can turn into a graph?
I am familiar with node's Child Process api, and I know how to get a sort of graph out of git (here and here for example), but how am I supposed to parse that output? And get all the branches in the right place?