add graph.php