Gitgraph.js
本家サイト: Gitgraph.js
JSFiddle で試せる。
https://gyazo.com/12e8cc6bb3675c3dcdc59ab0c1f8808c
Git のブランチグラフの 可視可ツール。
これはJSライブラリで、正確には可視化ツールではないけど、本などで使うブランチグラフイメージを用意するのによさそう。
git log - Pretty git branch graphs - Stack Overflow
Gitgraph.js allows to draw pretty git branches without a repository. Just write a Javascript code that configures your branches and commits and render it in browser.
code:js
var gitGraph = new GitGraph({
template: "blackarrow",
mode: "compact",
orientation: "horizontal",
reverseArrow: true
});
var master = gitGraph.branch("master").commit().commit();
var develop = gitGraph.branch("develop").commit();
master.commit();
develop.commit().commit();
develop.merge(master);
https://i.stack.imgur.com/OLmxz.png