This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

VertexInComponent

VertexInComponent
gives the vertices in the graph g that have a directed path to at least one of , , ....
VertexInComponent
gives the vertices with a directed path to at least one of , , ... of at most length k.
Find the in-component of a vertex:
Find the in-component of a set of vertices:
Find the in-component of a vertex:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
 
Find the in-component of a set of vertices:
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
VertexInComponent works with directed graphs:
Works with large graphs:
New in 8