Add support for iter of graph