Because the output condition of ExtractSubgraph is different with other patterns. If the vertex is what I want to extract, I will mark IS_MARK its state and check this condition when output.