Skip to content

gorhawk/git-object-visualizer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Git Object Visualizer

Experimental Node.js application that creates a DOT representation of a git repository.

DOT files can be used to create graphs with Graphviz.

Example usage:

Some image viewers you can easily open the results with: nomacs, feh, inkview (for svg, part of inkscape)

With intermediate files:

node index.js /path/to/some/repo/.git > repo.gv
dot -Tsvg repo.gv -o repo.svg
inkview repo.svg &
node index.js /path/to/some/repo/.git > repo.gv
dot -Tpng repo.gv -o repo.png
feh repo.png &

Example PNG:

example generated png