gives the list of vertices for the graph g.
gives a list of vertices that match the pattern patt.
uses rules vw to specify the graph g.
- VertexList is also known as nodes or actors.
- VertexList returns the list of vertices in the order used by the graph g.
Examplesopen allclose all
Basic Examples (3)
The vertex list for an explicitly constructed graph:
The vertex list for a parametrically constructed graph:
Find all vertices that match a pattern:
VertexList works with undirected graphs:
Use rules to specify the graph:
Use patterns to select a subset of vertices:
VertexList works with large graphs:
Find all vertices with a given annotation:
Highlight the vertex by the vertex degree:
Properties & Relations (7)
Introduced in 2010
Updated in 2015