Closed szhorvat closed 2 years ago
The internal vs[] function does not detect that a vertex does not exist when passed a list of exiting vertices. This is because VertexIndex can take a list, even though this is undocumented:
vs[]
VertexIndex
In[20]:= g = Graph[{"a" <-> "b"}]; In[21]:= VertexIndex[g, {"a", "b"}] Out[21]= {1, 2}
The internal
vs[]
function does not detect that a vertex does not exist when passed a list of exiting vertices. This is becauseVertexIndex
can take a list, even though this is undocumented: