# Functions
New returns a new DAG.
# Variables
ErrCycle indicates that there is a cycle within the graph.
ErrDuplicateVertex indicates that a vertex with an identical id exists in the DAG.
ErrVertexNoExist indicates that an id does not correspond to a vertex in the DAG.