You can close a node diagram using the following methods:
Press ctrl + u in the node diagram to go up to the parent diagram.
or
Select Diagram > Go Up One Level from the contextual menu.