Mathematica > Mathematics and Algorithms > Graphs & Networks > Graph Components and Connectivity > VertexInComponent >
Mathematica > Visualization and Graphics > Graphs & Networks > Graph Components and Connectivity > VertexInComponent >

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
Ask a question about this page  |  Suggest an improvement  |  Leave a message for the team
Format:   HTML  |  CDF