pydeps
pydeps copied to clipboard
Is it possible to force clustering by a multiple of external namespace criteria?
I have a rather large project that is organized into a series of packages and would like to use pydeps to create a dependency graph for controlling how one package affects the whole group. Unfortunately even if I force outside-going dependencies of a package to be only within package's __init__
, it can still go anywhere inside another package creating a mess in a big picture.
Clustering would be perfect by my clustering criteria is the namespace limitation not size.
Is there any way to achieve that?
Hi @Eugene-1984 and thank you for your interest in pydeps. What you're asking for is unfortunately not currently possible. If I understand correctly, then a solution to #81 would also solve your problem..?
@thebjorn thank you for the pydeps! Yes the solution to #81 will also solve my problem. Grouping via clustering or collapsing into a single node will make a little difference. Although I would like to add to #81 that a fine control of such collapsing will be especially useful, so that some modules are collapsed and the others are not. So just collapse or not all submodules will not do.