Cleaner output / only main packages?
Hi, I've been trying modulegraph after trying to reinvent the wheel...
However, the output is a bit too detailed to be useful---the graphs proceded are too complicated to be rendered intelligibly by "dot".
It would be helpful to have a couple of options:
1) Only output dependencies for the modules the user specifies. Right now modulegraph outputs information about the internal dependencies of numpy, scipy, etc., which are not really useful to the user.
2) Group modules by main packages. Suppose that there are modules A, A.a1, A.a2, A.a2.aa1, B, B.b1, B.b2, and suppose that B.b2 -> A.a1. Rather than have all the details of the subpackages, I would be only interested in the dependency B->A, and not about the subpackages.
I have tried looking into the code, but there isn't any obvious part where to do these modifications...