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