give depgraph a try - https://github.com/henryhale/depgraph - i'd like to learn about how i could improve it.