V = vertexSet D
V = vertexSet G
The vertices of a graph are just singletons that can be indexed by numbers, letters, or even in some cases something as exotic as a monomial. These form the base of a graph; the edges are 2 member subsets of the vertex set of a graph.
|
|
|
|
|
|
The object vertexSet is a method function.
The source of this document is in Graphs.m2:2106:0.