# Exploring Graphs with Elixir: Missing directories (p 100, 105)

**URL:** <https://forum.devtalk.com/t/exploring-graphs-with-elixir-missing-directories-p-100-105/9071>\
**Category:** PragProg Customers\
**Tags:** book-exploring-graphs-with-elixir, errata\
**Created:** [25 April 2021 14:35 UTC](https://forum.devtalk.com/t/exploring-graphs-with-elixir-missing-directories-p-100-105/9071 "2021-04-25T14:35:44Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![mvellandi](https://forum.devtalk.com/user_avatar/forum.devtalk.com/mvellandi/32/2726_2.png) [@mvellandi](https://forum.devtalk.com/u/mvellandi)\
**Post date:** [25 April 2021 14:35 UTC](https://forum.devtalk.com/t/exploring-graphs-with-elixir-missing-directories-p-100-105/9071/1 "2021-04-25T14:35:44Z")

</div>

Exploring Graphs with Elixir by @tonyhammond

_p.100 – Ch 3 \> Storing Graphs in the Graph Store \> Listing_  
shows

```auto
“iex>​​ ​​list_graphs​
​ [..., "default.dot", "IMAGES", ...]”

```

but (to my recollection) we have not defined this directory yet, either manually or automatically through the shell command in:  
_p.68 – Ch 2 \> Building a Graph Store \> Creating a Storage area_

I see a reference to this “images” directory later, as a module attribute in NativeGraph.Format  
So I manually created it.

Then in  
p.105 – Ch 3 \> Visualizing Graphs \> Rendering with Graph Viz  
while creating the water molecule graph, we’re given:

```auto
“iex>​​ ​​with​​ ​​{:ok,​​ ​​dot}​​ ​​=​​ ​​Graph.to_dot(g)​​ ​​do​
​ ​...>​​ ​​write_graph(dot,​​ ​​"dot/h2o.dot"​​)​
​ ​...>​​ ​​end”

```

When trying this, I get a File error since the “dot” directory is unavailable. Not sure what I’m missing here, or if the directory is supposed to be automatically created?  
I manually created a “dot” directory to make the code work as shown and tested in later pages.

---

<div class="post-metadata">

**Author:** ![tonyhammond](https://forum.devtalk.com/user_avatar/forum.devtalk.com/tonyhammond/32/2769_2.png) [@tonyhammond](https://forum.devtalk.com/u/tonyhammond)\
**Post date:** [16 May 2021 14:32 UTC](https://forum.devtalk.com/t/exploring-graphs-with-elixir-missing-directories-p-100-105/9071/2 "2021-05-16T14:32:31Z")

</div>

Yes, this was not very clear. These directories are to be added manually.

I added this text on p. 29 in Chapter 2, Building a Graph Store, section Listing:

“And we’ll also want to be able to access graphs and queries within any directories that we may add manually to our store.”

And on p. 47 in Chapter 3. Managing Graphs Natively with Elixir:

“In this case we have manually added an images/ directory.”

And on p. 49:  
“And for better graph management note that we’ve manually added the `dot/` and `images/` directories in our graph store:”

Also I hadn’t been consistent in writing dot files to the dot/ directory. Fixed that too.
