public function generateGraph(array $userSchema)
    {
        $graphSchema = $this->getService('neogen.schema_builder')->buildGraph($userSchema);

        return $this->getGraphGenerator()->generateGraph($graphSchema);
    }