# Decrease width of graph file

**URL:** <https://org-roam.discourse.group/t/decrease-width-of-graph-file/1963>\
**Category:** How To\
**Created:** [August 22, 2021, 1:03pm UTC](https://org-roam.discourse.group/t/decrease-width-of-graph-file/1963 "2021-08-22T13:03:18Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![whdaffer](https://avatars.discourse-cdn.com/v4/letter/w/bc79bd/32.png) [@whdaffer](https://org-roam.discourse.group/u/whdaffer)\
**Post date:** [August 22, 2021, 1:03pm UTC](https://org-roam.discourse.group/t/decrease-width-of-graph-file/1963/1 "2021-08-22T13:03:18Z")

</div>

Hi; I’m using org-roam-graph to display the .svg file in a Firefox window. However, the resulting .svg file is so wide, and there’s no scroll bar on the bottom of the Firefox window, that I have to increase the width of the Firefox window until it’s wider than my desktop window.

Any suggestions on a solution are appreciated. Telling graphviz to somehow compress the width to a manageble size or somehow telling Firefox to put a scroll bar on the bottom seem good approaches, but I’m open to anything.

TIA

---

<div class="post-metadata">

**Author:** ![danderzei](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/danderzei/32/59_2.png) [@danderzei](https://org-roam.discourse.group/u/danderzei)\
**Post date:** [August 23, 2021, 8:38am UTC](https://org-roam.discourse.group/t/decrease-width-of-graph-file/1963/2 "2021-08-23T08:38:02Z")

</div>

Have you tried `org-roam-ui`?

> **[GitHub - org-roam/org-roam-ui: A graphical frontend for exploring your...](https://github.com/org-roam/org-roam-ui)**
>
> A graphical frontend for exploring your org-roam Zettelkasten - GitHub - org-roam/org-roam-ui: A graphical frontend for exploring your org-roam Zettelkasten

---

<div class="post-metadata">

**Author:** ![bram85](https://yyz2.discourse-cdn.com/free1/user_avatar/org-roam.discourse.group/bram85/32/863_2.png) [@bram85](https://org-roam.discourse.group/u/bram85)\
**Post date:** [August 24, 2021, 10:59am UTC](https://org-roam.discourse.group/t/decrease-width-of-graph-file/1963/3 "2021-08-24T10:59:33Z")

</div>

I would suggest to instruct Graphviz Dot to use the left-to-right layout (instead of top down by default). You can use the following configuration option to achieve this:

```auto
(setq org-roam-graph-extra-config '(("rankdir" . "LR")))

```
