Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Graph Issue #173

Open
sallyc1997 opened this issue Nov 1, 2022 · 0 comments
Open

Graph Issue #173

sallyc1997 opened this issue Nov 1, 2022 · 0 comments

Comments

@sallyc1997
Copy link

sallyc1997 commented Nov 1, 2022

Hi! I was following the tutorial and was trying to graph the model, but got the following error even though I had using GraphViz and using LightGraphs

julia> display(Graph(graph2dot(model))) ERROR: MethodError: no method matching SimpleGraph(::String) Closest candidates are: SimpleGraph(::Any, ::Array{Vector{T}, 1}) where T at ~/.julia/packages/LightGraphs/IgJif/src/SimpleGraphs/simplegraph.jl:18 SimpleGraph() at ~/.julia/packages/LightGraphs/IgJif/src/SimpleGraphs/simplegraph.jl:50 SimpleGraph(::SimpleDiGraph) at ~/.julia/packages/LightGraphs/IgJif/src/SimpleGraphs/simplegraph.jl:140 ... Stacktrace: [1] top-level scope @ REPL[17]:1
Does anybody know what's wrong?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant