add graph.php & getData.php