The neural networks are for the evaluation at each node, traversing the game tree is done by using the NN to evaluate how good the position is on the tree’s nodes; how it traverses the tree is minimax with a-b pruning.
In my original comment I didn’t mention pruning or other heuristics like estimating the value of intermediate states because it’s more of an optimization (a very important one!) that doesn’t affect the theory very much.