E.g. Yesterday I was working on def_function.py and def_function_test.py
If you query the dependencies it is really hard to find a min cut point in the graph :
bazel query "deps(//tensorflow/python/eager:def_function)  --output graph"

bazel query "deps(//tensorflow/python/eager:def_function_test) --output graph"

bazel query "buildfiles(deps(//tensorflow/python/eager:def_function)) --output package"

bazel query "buildfiles(deps(//tensorflow/python/eager:def_function_test)) --output package"

Probably it is not the easiest target or the best query command but I don’t think that it is quite easier to find a min-cut also for other targets.