Added any check to graph