Very nice! I always had this idea but never came around to do it myself.
IMO at some point rewatch should do it since it has probably all the necessary information to even display the graph over package boundaries.
And, it’s not working for me either in a (yarn) workspaced project (that might be the culprit, and not rewatch itself?).