# Julia Graphplot error "MethodError: no method matching get\_adjacency\_matrix(::SimpleDiGraph{Int64})"

**URL:** <https://discourse.julialang.org/t/julia-graphplot-error-methoderror-no-method-matching-get-adjacency-matrix-simpledigraph-int64/72890>\
**Category:** Visualization\
**Tags:** question, plotting\
**Created:** [December 10, 2021, 1:46pm UTC](https://discourse.julialang.org/t/julia-graphplot-error-methoderror-no-method-matching-get-adjacency-matrix-simpledigraph-int64/72890 "2021-12-10T13:46:22Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ssjos](https://avatars.discourse-cdn.com/v4/letter/s/9f8e36/32.png) [@ssjos](https://discourse.julialang.org/u/ssjos)\
**Post date:** [December 10, 2021, 1:46pm UTC](https://discourse.julialang.org/t/julia-graphplot-error-methoderror-no-method-matching-get-adjacency-matrix-simpledigraph-int64/72890/1 "2021-12-10T13:46:22Z")

</div>

I am using the following code in Julia v1.6 to plot a graph:

```julia
graphplot(network1, method=:chorddiagram, markersize=3, nodeshape=:rect, linecolor=:lightgrey)

```

where network1 is a {56, 445} directed simple Int64 graph

I am getting the following error:

```julia
MethodError: no method matching get_adjacency_matrix(::SimpleDiGraph{Int64})

```

I was able to find the method get\_adjacency\_matrix in the GraphRecipes package graphs.jl, and it looks like it might be expecting to be passed either an AbstractMatrix or and AbstractVector. The output I was expecting to get from this code looks like this:  
 ![metanetwork1](https://global.discourse-cdn.com/julialang/original/3X/c/2/c2b7802ef70e42739230740cdfc89700f0078c99.png)
