Implementing Filesystem like Graph System. How to fully get back tree without writing a ton of graphql code?

Also, fragments can make the graphql query less verbose.