Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- def module_dependency(self, path='.'):
- edges = ModuleDependencies().get_relation_names(path)
- print('edges' + str(edges))
- graph = Digraph('graph3', format='png', filename='graph2',
- node_attr={'color': 'khaki', 'style': 'filled', 'shape': 'doublecircle'})
- for i in edges:
- graph.edge(i[1][0], i[1][1], label=str(i[0]))
- # graph.attr(label='Commit hash: \n' + git_commit_hash.get_git_commit_hash(path))
- graph.view()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement