Split graph out into own file