# Reading DOT graph

**URL:** https://discourse.julialang.org/t/reading-dot-graph/46683
**Category:** Graphs
**Tags:** lightgraphs, graphs
**Created:** [September 16, 2020, 3:54am UTC](https://discourse.julialang.org/t/reading-dot-graph/46683 "2020-09-16T03:54:19Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![pauljurczak](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pauljurczak/32/921_2.png) [@pauljurczak](https://discourse.julialang.org/u/pauljurczak)
#### Post date: [September 16, 2020, 3:54am UTC](https://discourse.julialang.org/t/reading-dot-graph/46683/1 "2020-09-16T03:54:19Z")

</div>

I have:

```julia
julia> using LightGraphs, GraphIO

julia> graph = loadgraph("gr.dot", "gr", DOTFormat())
ERROR: UndefVarError: DOT not defined
Stacktrace:
 [1] DOTFormat() at /home/paul/.julia/packages/GraphIO/IgxnP/src/deprecations.jl:29
 [2] top-level scope at REPL[40]:1
 [3] include_string(::Function, ::Module, ::String, ::String) at ./loading.jl:1088

```

I see `DOT` module in `GraphIO.jl` repository. How do I make it visible to Julia REPL?

**EDIT**

I also tried:

```julia
julia> using LightGraphs, GraphIO.DOT
ERROR: UndefVarError: DOT not defined

```

and

```julia
Test Summary: | Pass Total
GraphIO | 143 143
    Testing GraphIO tests passed 

```

---

<div class="post-metadata">

### Author: ![pauljurczak](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/pauljurczak/32/921_2.png) [@pauljurczak](https://discourse.julialang.org/u/pauljurczak)
#### Post date: [September 18, 2020, 1:19am UTC](https://discourse.julialang.org/t/reading-dot-graph/46683/2 "2020-09-18T01:19:41Z")

</div>

There is one more package needed to make it work:

```julia
using LightGraphs, GraphIO, ParserCombinator

```
