Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Select vertices based on annotations
ResourceFunction["AnnotatedVertexSelect"][g,crit] picks out all vertices vi of graph g for which crit[vi] is True. |
Find labeled vertices in a graph:
In[1]:= |
Out[1]= |
Select vertices based on annotations:
In[2]:= |
In[3]:= |
Out[3]= |
In[4]:= |
Out[4]= |
Select vertices based on coordinates:
In[5]:= |
Out[6]= |
Use multiple string and symbolic arguments in selection criteria:
In[7]:= |
In[8]:= |
In[9]:= |
Out[9]= |
This work is licensed under a Creative Commons Attribution 4.0 International License