This is something I’ve been looking for for a long time - I’ve never been able to find the right combination of terms; searching for variations of graph drawing never yielded much beyond graphics, and I never did the project I wanted to yet.
Thanks.
Thanks.
I had a project where I wanted to link commits from different projects. So I could say commit X in repo A depends on commit Y in repo B. And wanted to display the graphs side by side, with the dependencies...
I had some fun trying to replicate the sourcetree algorithm.
https://github.com/alaingilbert/git2graph
The code is ugly, but there is a bunch of tests that could be useful. I also made a basic UI tool to autogenerate tests according to what you draw.
I'm posting it here, maybe someone could find it interesting.