public function graphAction(Request $request)
    {
        $graph = $this->manager->getGraph($request->get('generated_content_url'));

        if (isset($graph['type'])) {
            return $this->render(
                'ClarolineCoreBundle:home/graph:'.$graph['type'].'.html.twig',
                ['content' => $graph],
                true
            );
        }

        return new Response('false');
    }