Vertex discovery finish predecessor 0 1 8 -1 1 2 3 0 2 5 6 3 3 4 7 0 Edge Tail Head Type 0 0 1 tree 1 0 3 tree 2 2 1 cross 3 3 2 tree