next | previous | forward | backward | up | top | index | toc | Macaulay2 web site

Vertices -- the set of vertices a directed graph

Synopsis

Description

Since any DirectedGraph is in fact a HashTable this symbol denotes the data in the HashTable consisting of the vertices of the directed graph.
i1 : G = directedGraph({a,b,c,d,e},  {(a,b),(b,c),(a,c),(a,d),(d,e)});
i2 : V = G.Vertices -- the vertex set

o2 = {a, b, c, d, e}

o2 : List

See also

For the programmer

The object Vertices is a symbol.