VertexOutComponent

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

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

DetailsDetails

Introduced in 2010
(8.0)
| Updated in 2014
(10.0)