A Simple Graph Package Providing an Iterator

Graphs, of one form or another, are an important data structure throughout most of computer science. This example displays an implementation of a simple package providing an abstraction of directed graphs. The specification includes some type definitions, culminating in the Ob j record type, that serves to define the structure of directed graphs. The user is responsible for allocation, initialization and manipulation of the nodes that form a graph.