LambdaComponents
LambdaComponents[g] gives the lambda components of the graph g.
LambdaComponents[g,{v1,v2,…}] gives the lambda components that include at least one of the vertices {v1,v2,…}.
LambdaComponents[{v->w,…},…] uses rules v->w to specify the graph g.
Please visit the official Wolfram Language Reference for more details and examples on core symbols.