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.

VertexOutComponent[{vw,},]
uses rules to specify the graph g.

DetailsDetails

ExamplesExamplesopen allclose all

Basic Examples  (1)Basic Examples  (1)

Find the out-component of a vertex:

In[1]:=
Click for copyable input
In[2]:=
Click for copyable input
Out[2]=

Highlight the out-component of a vertex:

In[3]:=
Click for copyable input
Out[3]=
Introduced in 2010
(8.0)
| Updated in 2015
(10.3)
Translate this page: