UPCGGraph::ForEachNode

Calls the lambda on every node in the graph or until the Action call returns false