Initial creation of graphs for spy.