VertexInComponent

VertexInComponent[g,{v1,v2,}]
gives the vertices in the graph g that have a directed path to at least one of , , .

VertexInComponent[g,{v1,v2,},k]
gives the vertices with a directed path to at least one of , , of at most length k.

DetailsDetails

Introduced in 2010
(8.0)