After some searching, I found this amazing tool: http://gitgraphjs.com/. With a few lines of javascript code, it can easily draw the following graph:
It almost satisfies all my needs, except that I want add some identification notes to the nodes, so that I can refer them clearly when presenting.
After some code modification, I successfully added a number to each node, as ire.n the following picture.
The final code is checkin to https://github.com/shawn11ZX/gitgraph.js and the PPT is shared at slideshare



0 评论:
Post a Comment