How do I convert a long complicated boolean query into a visual tree?

An LLM like ChatGPT could do this transformation.