fix gh-3, on git-log error, exit immediatly without outputting any dot file
fix gh-4, bug caused non-primary edges not to be shown