Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Return the non-isomorphic components of a graph
ResourceFunction["NonIsomorphicComponents"][g] returns the non-isomorphic components of the graph g. |

Find the non isomorphic components in a graph:
| In[1]:= | ![]() |
| Out[1]= | ![]() |
Works with undirected graphs:
| In[2]:= |
| Out[2]= | ![]() |
| In[3]:= |
| Out[3]= | ![]() |
Directed graphs:
| In[4]:= |
| Out[4]= | ![]() |
| In[5]:= |
| Out[5]= | ![]() |
Weighted graphs:
| In[6]:= | ![]() |
| Out[6]= | ![]() |
Multigraphs:
| In[7]:= | ![]() |
| Out[7]= | ![]() |
Mixed graphs:
| In[8]:= | ![]() |
| Out[8]= | ![]() |
Explore and analyze the patterns or structures within a network:
| In[9]:= |
| In[10]:= |
| Out[10]= | ![]() |
We can also identify the number of non-isomorphic components:
| In[11]:= |
| In[12]:= |
| Out[12]= |
Wolfram Language 13.0 (December 2021) or above
This work is licensed under a Creative Commons Attribution 4.0 International License