Run.Gval index : node -> intEach node must have a unique integer index. These indices must range from 0 (included) to n (excluded). The function index maps a node to its integer index.
val iter : (node -> unit) -> unititer enumerates all nodes in the graph. That is, iter yield applies the function yield to every node in the graph.