Visualize the Directed Acyclic Graph that Git creates to connect Commit, Tree and Blob objects internally.
5
Created on 31st May 2022
•
Git Graph
Visualize the Directed Acyclic Graph that Git creates to connect Commit, Tree and Blob objects internally.
The problem Git Graph solves
Git Graph takes an existing repository and generates the Directed Acyclic Graph that Git uses to connect Commit, Tree and Blob objects internally, to help demonstrate how the internals of Git work.
Challenges I ran into
Parsing internal Git files after decompressing them on the fly was a challenge due to the complicated storage formats within files.
Ordering and colouring all the Git Objects was a painstaking process.
Preventing too many renders was a challenge, but was finally solved by Memoizing the output.