Refactored the graph building. Now processing chidlren of commits instead of its parents. The result is much better. Anyway, i'm not sure the bezier links are good. Better stick to multi-segmented lines, like in gitk. But the goal was not to remake gitk.