Branch: https://github.com/gradle/gradle/compare/alllex/service-registry-graph-tracing
On the branch, run any test, grep the test output for lines starting with YYY:
.
This provides a Mermaid diagram sources.
Caution
The graph is not correct, because it conflates nodes from different classloaders and processes