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

Thanks for the help everyone! I appreciate all of your feedback in a very fast time. You guys rock!