WOLFRAM LANGUAGE FEATURED EXAMPLE

Highlight Connected Components in a Directed Graph

Here, strongly connected components of a size greater than 1 are highlighted.

    
In[1]:=
Click for copyable input
Find the connected components of a size greater than 1:
In[2]:=
Click for copyable input
Highlight connected components:
In[3]:=
Click for copyable input
Out[3]=