Digraph for packages with proper "solving" based on dep graph depths

It's worse than that, I hadn't noticed they were in different function clauses altogether (I was worried about use on line 36 and 51 too). Brainfart on my part.