Wolfram Function Repository
Instant-use add-on functions for the Wolfram Language
Function Repository Resource:
Quickly test for existence of an edge between two vertices
Determine if two vertices are connected by any edge:
In[1]:= |
Out[1]= |
In[2]:= |
Out[2]= |
Note that EdgeQ will give False because it takes edge properties, such as tags, into account:
In[3]:= |
Out[3]= |
EdgeBetweenQ works regardless of edge tag or edge type:
In[4]:= |
Out[5]= |
In[6]:= |
Out[7]= |
Check whether an edge is part of a large edge-tagged graph:
In[8]:= |
Out[9]= |
This work is licensed under a Creative Commons Attribution 4.0 International License