simple graph iterator works.