Paradox/Client.php
public function createGraph($name)
    {
        $toolbox = $this->getToolbox($this->_currentConnection);
        $toolbox->getGraphManager()->createGraph($name);
        $this->addConnection($name, $toolbox->getEndpoint(), array('username' => $toolbox->getUsername(), 'password' => $toolbox->getPassword(), 'graph' => $name, 'database' => $toolbox->getDatabase()));

        return true;
    }
public function createGraph($name)
    {
        $toolbox = $this->getToolbox($this->_currentConnection);
        $toolbox->getGraphManager()->createGraph($name);
        $this->addConnection($name, $toolbox->getEndpoint(), array('username' => $toolbox->getUsername(), 'password' => $toolbox->getPassword(), 'graph' => $name, 'database' => $toolbox->getDatabase()));

        return true;
    }
Create a graph using the current connection's settings and add it as a connection.
A connection is automatically added to the client using the name of the graph, so you need to be careful that it does not overwrite
another connection with the same name.

You do not need to set the vertex and edge collections. They are automatically named for you.

For example:
$client->createGraph('myGraph');
$client->useConnection('myGraph'); //You can now query the graph
@param  string  $name The name of the graph.
@return boolean