Using the Inspector tool in a browser, a waterfall can be seen. Also the type of cause for loading specific elements is mentioned, and it can be explored further in the Stack tab for that specific element.
Is there a way to see a dependency tree showing, how all scripts (or all elements) are subsequently called, one by another?