Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Remove low-valence vertices in a graph
ResourceFunction["GraphRemoveLooseEnds"][g] removes low-valence vertices in the graph g. |
Remove low-valence vertices from a graph:
In[1]:= |
Out[2]= |
Removing the loose ends allows the loops within the graph to be more prominent:
In[3]:= |
Out[3]= |
This work is licensed under a Creative Commons Attribution 4.0 International License