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

DirectedEdges -- the set of directed edges of a directed graph

Synopsis

Description

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

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

o2 : List

See also

For the programmer

The object DirectedEdges is a symbol.