This repo contains slides and code for presentations I am working on for the Gear Heads (FRC 2813).
- TypeScript
- reveal.js HTML presentation framework
- SVG.js SVG wrapper library
- Jest JavaScript testing framework
- ESLint
- esbuild bundler
- prettier code formatter
- Pro Git online Git book
- The TypeScript Handbook
- The commit layout algorithm was inspired by Commit Graph Drawing Algorithms
- The SVG rendering code was highly influenced by GitGraph.js
There are numerous JavaScript/TypeScript libraries for rendering Git graphs (including GitGraph.js and Mermaid). I could not find one that had the features I needed (and some had bugs). What I created supports the following:
- Rendering branch names at the tip of the branches (vs the top of the branches)
- Rendering
HEAD
- Supporting
git amend
- Allowing the graph to be rendered incrementally while not moving commits around
- Supporting showing command-line arguments for each transition