Iterative Structural Inference of Directed Graphs