extract graphs into their own page