Oh, I guess the point of the function is to do the three operations (preprocess, subgraph, and mask) all in one. Considering that you have to pass in all the arguments to those functions as well, though, I wonder whether this would make user code more understandable.