# How to generate the roam graph to appear in emacs

**URL:** <https://org-roam.discourse.group/t/how-to-generate-the-roam-graph-to-appear-in-emacs/310>\
**Category:** Troubleshooting\
**Created:** [June 6, 2020, 12:13pm UTC](https://org-roam.discourse.group/t/how-to-generate-the-roam-graph-to-appear-in-emacs/310 "2020-06-06T12:13:02Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![roi.holtzman](https://avatars.discourse-cdn.com/v4/letter/r/f05b48/32.png) [@roi.holtzman](https://org-roam.discourse.group/u/roi.holtzman)\
**Post date:** [June 6, 2020, 12:13pm UTC](https://org-roam.discourse.group/t/how-to-generate-the-roam-graph-to-appear-in-emacs/310/1 "2020-06-06T12:13:02Z")

</div>

When I execute `org-roam-graph` the graph is shown in firefox as I defined in the config file

`(setq org-roam-graph-viewer "/Applications/Firefox.app/Contents/MacOS/firefox")`

But I would like the graph to be opened inside emacs as done in [docs](https://org-roam.readthedocs.io/en/master/tour/#exporting-the-graph).

How can I configure that?  
(BTW, I am using spacemacs).

---

<div class="post-metadata">

**Author:** ![nv-discourse](https://avatars.discourse-cdn.com/v4/letter/n/53a042/32.png) [@nv-discourse](https://org-roam.discourse.group/u/nv-discourse)\
**Post date:** [June 7, 2020, 6:44am UTC](https://org-roam.discourse.group/t/how-to-generate-the-roam-graph-to-appear-in-emacs/310/2 "2020-06-07T06:44:14Z")

</div>

`(setq org-roam-graph-viewer nil)` will use view-file by default.

`(setq org-roam-graph-viewer #'eww-open-file)` will open the graph in eww.

However, the gif in the docs actually look like the graph is being opened in a browser.

---

<div class="post-metadata">

**Author:** ![roi.holtzman](https://avatars.discourse-cdn.com/v4/letter/r/f05b48/32.png) [@roi.holtzman](https://org-roam.discourse.group/u/roi.holtzman)\
**Post date:** [June 7, 2020, 10:18am UTC](https://org-roam.discourse.group/t/how-to-generate-the-roam-graph-to-appear-in-emacs/310/3 "2020-06-07T10:18:05Z")

</div>

Thanks!  
I guess that I mainly want the ability to click on a node in the graph and that it will open the corresponding note.  
Do you know how can I achieve this?
