query diagram does not match SQL statement in Query Builder

In Query Builder, I've created a subquery and pasted an SQL statment into the Query (Query Tab). The Diagram view (Diagram Tab) does not match the SQL statemen in the Query tab.

How do I get the Diagram updated to match the Query?

Press the visualize query button on the toolbar. It should be the very last one on the right of Query Builder toolbar.