Live data from Hacker News

Paris Metro lines on a Git graph

github.com

31–37 of 37 posts

Re: Paris Metro lines on a Git graph

#31
post #29

Similar idea for DC Metro here: https://github.com/bburky/git-dc-metro

Yep, that's mine. Actually, it was you Christian, who was describing the git graphs as train tracks and prompted me to do this. vbarbaresi, you should include the script or whatever method you used to generate the metro. I noticed you also used --allow-empty.

I would like to read that article, comment whatever about git and graphs

Re: Paris Metro lines on a Git graph

#34
It seems that, apart from gitk, there are some tools built for displaying git commit graphs. http://stackoverflow.com/questions/1057564/pretty-git-branch... In terms of the final use of this I haven't digged enough yet. What seems pretty straight forward is the potential of directed graphs for dashboard graphic interfaces. If you could export the git data to JSON, it shouldn't be very difficult to implement with D3 the dinamic generation of SVG's views. This way you might have a chance of making the graph interactive. Example: you could click on a node to retrieve the complete data contained in it, highlight a branch... Otherwise the graph might end not being very usable in terms of information organization or retrieval. However I'm very much for making cool things and not caring too much about usefulness. This is already a cool thing, thanks for sharing.

Re: Paris Metro lines on a Git graph

#35
post #29

Earlier quoted context omitted.

Yep, that's mine. Actually, it was you Christian, who was describing the git graphs as train tracks and prompted me to do this. vbarbaresi, you should include the script or whatever method you used to generate the metro. I noticed you also used --allow-empty.

I would like to read that article, comment whatever about git and graphs

Oh. It was an in-person conversation, or possibly a Facebook message that @bburky and I had at some point. Let me see if I can dig it up, but I think it was pretty much just a screenshot of gitk on a particularly complex graph.

Re: Paris Metro lines on a Git graph

#37

Similar idea for DC Metro here: https://github.com/bburky/git-dc-metro

(original poster here) I figured that someone might have already done it, but I didn't find these. It's surprising because I wrote an extremely similar README file! However it looks like he wrote the solution manually, whereas I couldn't as it's way too complicated with Paris' metro system. I wrote a small algorithm (using Python) to create the graph. I'll probably publish it, after I clean the code a little.

> I wrote an extremely similar README file!

Very similar, to the point that I initially thought you had copied/plagiarized it, until I went and checked.

Post reply on HN